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.00109/0.00109, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.312 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.527/2.527, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9515/0.9518, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002158/0.9541, allocations: 1.54 MB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.9551, allocations: 0.6118 MB / 0.9565 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.9552, allocations: 6.375 kB / 0.9565 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.9554, allocations: 27.91 kB / 0.9566 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.9557, allocations: 97.34 kB / 0.9567 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.9561, allocations: 135.5 kB / 0.9568 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.9563, allocations: 187.9 kB / 0.957 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.9564, allocations: 39.36 kB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.9566, allocations: 97.28 kB / 0.9571 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003561/0.9601, allocations: 2.262 MB / 0.9593 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.9602, allocations: 8.031 kB / 0.9593 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.9603, allocations: 29.25 kB / 0.9593 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.9604, allocations: 32.06 kB / 0.9594 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.9605, allocations: 48.97 kB / 0.9594 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.9607, allocations: 151 kB / 0.9596 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9607, allocations: 1.031 kB / 0.9596 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9607, allocations: 0 / 0.9596 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9607, allocations: 0 / 0.9596 GB, free: 4.609 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.0006721/0.9614, allocations: 0.4975 MB / 0.96 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.9614, allocations: 14.27 kB / 0.9601 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.9615, allocations: 18.59 kB / 0.9601 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.9617, allocations: 232.9 kB / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.9618, allocations: 11.5 kB / 0.9603 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.9618, allocations: 13.97 kB / 0.9603 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.962, allocations: 97.05 kB / 0.9604 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.9621, allocations: 5.078 kB / 0.9604 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.9621, allocations: 5.344 kB / 0.9604 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.9621, allocations: 5.469 kB / 0.9604 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.9622, allocations: 53.56 kB / 0.9605 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007413/0.963, allocations: 480.6 kB / 0.9609 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.9631, allocations: 81.77 kB / 0.961 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.9632, allocations: 42.44 kB / 0.9611 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.9632, allocations: 2.125 kB / 0.9611 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.9634, allocations: 97.47 kB / 0.9612 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.9634, allocations: 0 / 0.9612 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003169/0.9637, allocations: 143.3 kB / 0.9613 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.9638, allocations: 53.94 kB / 0.9613 GB, free: 3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.964, allocations: 192 kB / 0.9615 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.964, allocations: 37.02 kB / 0.9616 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.9641, allocations: 125.3 kB / 0.9617 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.9641, allocations: 35.89 kB / 0.9617 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.9641, allocations: 5.469 kB / 0.9617 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.9642, allocations: 326.9 kB / 0.962 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.9642, allocations: 31.64 kB / 0.9621 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.9645, allocations: 120.1 kB / 0.9622 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/0.9645, allocations: 45.88 kB / 0.9622 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9645, allocations: 0 / 0.9622 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002175/0.9648, allocations: 152.1 kB / 0.9624 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.9648, allocations: 6.531 kB / 0.9624 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9648, allocations: 5.5 kB / 0.9624 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.9648, allocations: 2 kB / 0.9624 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.9649, allocations: 13.62 kB / 0.9624 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9649, allocations: 9.391 kB / 0.9624 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.9651, allocations: 28.3 kB / 0.9624 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.9651, allocations: 5.094 kB / 0.9624 GB, free: 2.066 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.9653, allocations: 139 kB / 0.9626 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.9653, allocations: 18.44 kB / 0.9626 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.9655, allocations: 128 kB / 0.9627 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9655, allocations: 1.469 kB / 0.9627 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9655, allocations: 0 / 0.9627 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.9655, allocations: 4.859 kB / 0.9627 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.966, allocations: 477 kB / 0.9632 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.966, allocations: 0 / 0.9632 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.966, allocations: 5.469 kB / 0.9632 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9661, allocations: 1.375 kB / 0.9632 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.9661, allocations: 9.297 kB / 0.9632 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9661, allocations: 0 / 0.9632 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9661, allocations: 1.312 kB / 0.9632 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.9663, allocations: 219 kB / 0.9634 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.9663, allocations: 103.5 kB / 0.9635 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.9664, allocations: 9.016 kB / 0.9635 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.9665, allocations: 15.52 kB / 0.9635 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.9666, allocations: 14.09 kB / 0.9635 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.9666, allocations: 5.594 kB / 0.9635 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001027/0.9667, allocations: 141.6 kB / 0.9637 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9667, allocations: 0 / 0.9637 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002887/0.967, allocations: 39.16 kB / 0.9637 GB, free: 0.9805 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003418/0.9673, allocations: 172.8 kB / 0.9639 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.9676, allocations: 94.89 kB / 0.964 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9676, allocations: 0 / 0.964 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.9677, allocations: 39.3 kB / 0.964 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.9681, allocations: 44.11 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.9687, allocations: 344.2 kB / 0.9644 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.9689, allocations: 0.7241 MB / 0.9651 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.745e-05/0.969, allocations: 18.98 kB / 0.9651 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.9691, allocations: 21.83 kB / 0.9651 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.9691, allocations: 0.9688 kB / 0.9651 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of Templates: time 0.007441/0.9765, allocations: 3.002 MB / 0.968 GB, free: 14.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches