Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 200.5 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 55.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.8043, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004046/0.8084, allocations: 1.935 MB / 0.9515 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.8095, allocations: 0.6451 MB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.8096, allocations: 1.719 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.8099, allocations: 32.27 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.8102, allocations: 91.3 kB / 0.9522 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.8105, allocations: 137.4 kB / 0.9523 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.8107, allocations: 219.6 kB / 0.9525 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.8109, allocations: 36.95 kB / 0.9526 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.811, allocations: 101.2 kB / 0.9527 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009868/0.8209, allocations: 0.7352 MB / 0.9534 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.821, allocations: 9 kB / 0.9534 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.8212, allocations: 24.66 kB / 0.9534 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.8212, allocations: 39.36 kB / 0.9535 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.8214, allocations: 85.33 kB / 0.9535 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.8216, allocations: 143.5 kB / 0.9537 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8216, allocations: 0 / 0.9537 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8216, allocations: 0 / 0.9537 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.8217, allocations: 0.8438 kB / 0.9537 GB, free: 6.234 MB / 0.7169 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.0007903/0.8225, allocations: 0.5406 MB / 0.9542 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8225, allocations: 10.44 kB / 0.9542 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.8226, allocations: 23.03 kB / 0.9542 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.8229, allocations: 242 kB / 0.9545 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.8229, allocations: 7.031 kB / 0.9545 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.823, allocations: 14.72 kB / 0.9545 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.8232, allocations: 106.4 kB / 0.9546 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8232, allocations: 0 / 0.9546 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.8232, allocations: 1.406 kB / 0.9546 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.8232, allocations: 6.844 kB / 0.9546 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.8233, allocations: 53.28 kB / 0.9547 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.8242, allocations: 470.5 kB / 0.9551 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.8243, allocations: 77.67 kB / 0.9552 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.8244, allocations: 31.66 kB / 0.9552 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.8244, allocations: 1.344 kB / 0.9552 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.8246, allocations: 106 kB / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.8246, allocations: 0 / 0.9553 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003264/0.8249, allocations: 147.5 kB / 0.9555 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.825, allocations: 61.42 kB / 0.9555 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.8252, allocations: 184.1 kB / 0.9557 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.8252, allocations: 33.17 kB / 0.9557 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.8253, allocations: 122.1 kB / 0.9558 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.8253, allocations: 29.28 kB / 0.9559 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.8255, allocations: 62.05 kB / 0.9559 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.8255, allocations: 323.4 kB / 0.9562 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.8256, allocations: 33.45 kB / 0.9563 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.8258, allocations: 124.3 kB / 0.9564 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.826, allocations: 111.4 kB / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.826, allocations: 0 / 0.9565 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002563/0.8262, allocations: 153 kB / 0.9566 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8263, allocations: 6 kB / 0.9566 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8263, allocations: 1.219 kB / 0.9566 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.8263, allocations: 6.438 kB / 0.9566 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.8264, allocations: 23.73 kB / 0.9567 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8264, allocations: 0 / 0.9567 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.8266, allocations: 24.77 kB / 0.9567 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.8266, allocations: 6.188 kB / 0.9567 GB, free: 3.566 MB / 0.7169 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.0001144/0.8268, allocations: 143.3 kB / 0.9568 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.8268, allocations: 18.86 kB / 0.9569 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.827, allocations: 129.2 kB / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.827, allocations: 1.531 kB / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.827, allocations: 0 / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.827, allocations: 1.469 kB / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.8276, allocations: 461.5 kB / 0.9574 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8276, allocations: 5.094 kB / 0.9574 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.8277, allocations: 9.672 kB / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8277, allocations: 0 / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.8277, allocations: 1.312 kB / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.8277, allocations: 1.688 kB / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8277, allocations: 3.938 kB / 0.9574 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.8279, allocations: 232.6 kB / 0.9577 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.828, allocations: 92.19 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.828, allocations: 8 kB / 0.9578 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.8281, allocations: 9.359 kB / 0.9578 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.8282, allocations: 13.36 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.8282, allocations: 5.844 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001104/0.8283, allocations: 138 kB / 0.9579 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8283, allocations: 3.938 kB / 0.9579 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003359/0.8287, allocations: 52.83 kB / 0.958 GB, free: 2.477 MB / 0.7169 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.0003512/0.829, allocations: 162.2 kB / 0.9581 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.8293, allocations: 96.27 kB / 0.9582 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8293, allocations: 0 / 0.9582 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.8294, allocations: 43.83 kB / 0.9583 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.8298, allocations: 49 kB / 0.9583 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.8305, allocations: 369.1 kB / 0.9587 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.8307, allocations: 0.7196 MB / 0.9594 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.8307, allocations: 23.67 kB / 0.9594 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.8307, allocations: 0 / 0.9594 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Templates: time 0.006657/0.8374, allocations: 3.014 MB / 0.9623 GB, free: 15.69 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches