Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.91 kB / 1.057 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003416/0.3393, allocations: 1.787 MB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3405, allocations: 0.609 MB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.3405, allocations: 4 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3407, allocations: 31.7 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.3411, allocations: 115.5 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.3415, allocations: 155.6 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.3418, allocations: 231.4 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3419, allocations: 25.55 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.342, allocations: 103.7 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005945/0.3479, allocations: 0.8005 MB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.348, allocations: 20 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3481, allocations: 39.97 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.3482, allocations: 39.84 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3483, allocations: 95.44 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.3487, allocations: 215.1 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3487, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3487, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3487, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008356/0.3496, allocations: 0.541 MB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3496, allocations: 8.031 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.3497, allocations: 28.78 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.35, allocations: 236.7 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.35, allocations: 12 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.35, allocations: 16 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.3502, allocations: 97.58 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3503, allocations: 3.938 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3503, allocations: 4 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3503, allocations: 11.92 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3504, allocations: 55.97 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.3513, allocations: 464.5 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3514, allocations: 70.55 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.3515, allocations: 28.84 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3515, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.3517, allocations: 95.33 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3517, allocations: 4 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003334/0.352, allocations: 149.6 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3521, allocations: 55.41 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.3523, allocations: 199.1 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.3523, allocations: 33.7 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.3524, allocations: 120.5 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.3525, allocations: 39.73 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.3526, allocations: 57.64 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3527, allocations: 326.8 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.3528, allocations: 27.98 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.353, allocations: 130.9 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3532, allocations: 104.8 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3532, allocations: 0 / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002708/0.3534, allocations: 157.4 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3535, allocations: 4.219 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3535, allocations: 4 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3535, allocations: 7.875 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.3536, allocations: 19.94 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3536, allocations: 7.922 kB / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3538, allocations: 23.89 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3538, allocations: 4 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.3539, allocations: 145.7 kB / 1.221 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.354, allocations: 15.91 kB / 1.221 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.3542, allocations: 127.1 kB / 1.221 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3542, allocations: 4 kB / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3542, allocations: 0 / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3542, allocations: 0 / 1.221 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.3548, allocations: 466.2 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3548, allocations: 4 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.3548, allocations: 4 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3549, allocations: 4 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3549, allocations: 0 / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3549, allocations: 0 / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3549, allocations: 0 / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3551, allocations: 223.3 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.3552, allocations: 101 kB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3552, allocations: 12 kB / 1.222 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3553, allocations: 7.984 kB / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.3554, allocations: 15.98 kB / 1.222 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.3554, allocations: 7.984 kB / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000132/0.3555, allocations: 139.1 kB / 1.222 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3555, allocations: 0 / 1.222 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003141/0.3559, allocations: 43.94 kB / 1.222 GB, free: 8.082 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003922/0.3562, allocations: 177.1 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3565, allocations: 91.84 kB / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3565, allocations: 0 / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.3566, allocations: 39.92 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.357, allocations: 53.17 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.3576, allocations: 320.5 kB / 1.223 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.358, allocations: 0.7205 MB / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.3581, allocations: 23.42 kB / 1.224 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3581, allocations: 0 / 1.224 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of Templates: time 0.006139/0.3642, allocations: 3.03 MB / 1.227 GB, free: 3.613 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.732771167065948]