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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00156/0.00156, allocations: 110.6 kB / 16.41 MB, free: 6.5 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.001778/0.001778, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001557, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9318/0.9334, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003243/0.9367, allocations: 1.784 MB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.9379, allocations: 0.5913 MB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.938, allocations: 5.406 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.9382, allocations: 27.33 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.9386, allocations: 121.9 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.9391, allocations: 153.8 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.9395, allocations: 231.9 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.9397, allocations: 33.92 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.9399, allocations: 104.3 kB / 1.092 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004922/0.9448, allocations: 0.8046 MB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.9449, allocations: 17.28 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.945, allocations: 36.97 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.9451, allocations: 36.66 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.9453, allocations: 89.14 kB / 1.093 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.9457, allocations: 212.7 kB / 1.093 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.9457, allocations: 0.7031 kB / 1.093 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9457, allocations: 1.312 kB / 1.093 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.9457, allocations: 4 kB / 1.093 GB, free: 3.16 MB / 0.8575 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.0009328/0.9467, allocations: 0.53 MB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9467, allocations: 8.938 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/0.9468, allocations: 24.19 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.9471, allocations: 244.9 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.9472, allocations: 10.62 kB / 1.094 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.9472, allocations: 14.42 kB / 1.094 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.9474, allocations: 99.61 kB / 1.094 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.9475, allocations: 0 / 1.094 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.9475, allocations: 5.875 kB / 1.094 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.9475, allocations: 6.156 kB / 1.094 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.9476, allocations: 57.45 kB / 1.094 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.9486, allocations: 461.9 kB / 1.094 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.9488, allocations: 89.48 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.9489, allocations: 31 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.9489, allocations: 5.609 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.9491, allocations: 95.02 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.9491, allocations: 0 / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003689/0.9495, allocations: 159.3 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.9495, allocations: 54.91 kB / 1.095 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.9498, allocations: 186 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.9498, allocations: 33.97 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.9499, allocations: 123.1 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.9499, allocations: 30.97 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.95, allocations: 54.12 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.9501, allocations: 328.7 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.9502, allocations: 32.58 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.9504, allocations: 122.8 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.9506, allocations: 111.7 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.9506, allocations: 4.688 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002573/0.9509, allocations: 146.4 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.9509, allocations: 5 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9509, allocations: 6.781 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.9509, allocations: 6.062 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.9511, allocations: 18.95 kB / 1.096 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.9511, allocations: 7.453 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.9513, allocations: 19.97 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.9513, allocations: 11.34 kB / 1.096 GB, free: 0.7695 MB / 0.8575 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.000129/0.9515, allocations: 131.3 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.9515, allocations: 16.09 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.9518, allocations: 135.3 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.9518, allocations: 5.188 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9518, allocations: 0 / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.9518, allocations: 1.266 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.9524, allocations: 462.5 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9524, allocations: 0 / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.9524, allocations: 6.875 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.9524, allocations: 1.734 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.9525, allocations: 5.891 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.9525, allocations: 5.312 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9525, allocations: 0.7031 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.9527, allocations: 220 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.9528, allocations: 100.2 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.9529, allocations: 1.906 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.953, allocations: 15.44 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.953, allocations: 15.34 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.9531, allocations: 11.23 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001404/0.9532, allocations: 137.1 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9532, allocations: 0 / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003284/0.9536, allocations: 45.02 kB / 1.097 GB, free: 15.8 MB / 0.8731 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.0003799/0.9539, allocations: 156.1 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.9542, allocations: 102.1 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.9542, allocations: 0 / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.9543, allocations: 42.67 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.9548, allocations: 55.8 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.9556, allocations: 333.8 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.956, allocations: 0.7222 MB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.956, allocations: 25.83 kB / 1.098 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.956, allocations: 0 / 1.098 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.009217/0.9653, allocations: 3.03 MB / 1.101 GB, free: 14.33 MB / 0.8731 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