Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001825/0.001825, allocations: 108.5 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.002063/0.002063, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.559/2.559, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.84 kB / 1.054 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9903/0.9918, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003589/0.9954, allocations: 1.787 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.9967, allocations: 0.5966 MB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.9969, allocations: 0 / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.9972, allocations: 27.73 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.9977, allocations: 127.4 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.9981, allocations: 147.2 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.9985, allocations: 215.5 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.9987, allocations: 49.53 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.9989, allocations: 107.6 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004637/1.004, allocations: 0.8029 MB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/1.004, allocations: 16 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/1.004, allocations: 36 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/1.004, allocations: 43.81 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/1.004, allocations: 87.52 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/1.004, allocations: 203.4 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.004, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.004, allocations: 3.938 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.004, allocations: 4 kB / 1.212 GB, free: 9.633 MB / 0.9356 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.0008778/1.005, allocations: 0.5353 MB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.005, allocations: 8.031 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/1.005, allocations: 16.75 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/1.006, allocations: 260.3 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/1.006, allocations: 12 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/1.006, allocations: 12 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/1.006, allocations: 97.66 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.006, allocations: 0 / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/1.006, allocations: 7.984 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.006, allocations: 3.938 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/1.006, allocations: 51.97 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/1.007, allocations: 480.2 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/1.007, allocations: 70.56 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/1.007, allocations: 36.84 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/1.007, allocations: 0 / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/1.008, allocations: 102.9 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/1.008, allocations: 4 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0003309/1.008, allocations: 149.6 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.008, allocations: 55.41 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/1.008, allocations: 183.9 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/1.008, allocations: 29.7 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/1.008, allocations: 128.4 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/1.008, allocations: 35.55 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/1.008, allocations: 53.67 kB / 1.215 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.009, allocations: 334.8 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/1.009, allocations: 31.98 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/1.009, allocations: 126.8 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/1.009, allocations: 105.2 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.009, allocations: 0 / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002387/1.009, allocations: 145.4 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.009, allocations: 8.156 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.009, allocations: 4 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.009, allocations: 7.938 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/1.009, allocations: 19.92 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.009, allocations: 0 / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/1.01, allocations: 27.83 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/1.01, allocations: 4 kB / 1.215 GB, free: 6.254 MB / 0.9356 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.0001183/1.01, allocations: 133.8 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/1.01, allocations: 19.8 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/1.01, allocations: 130.4 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.01, allocations: 3.938 kB / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.01, allocations: 0 / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/1.01, allocations: 104.8 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/1.01, allocations: 7.938 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/1.01, allocations: 8 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/1.01, allocations: 15.97 kB / 1.216 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002357/1.011, allocations: 188.9 kB / 1.216 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002537/1.011, allocations: 302.5 kB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.931e-05/1.011, allocations: 47.94 kB / 1.216 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000113/1.011, allocations: 141.5 kB / 1.216 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of Backend: time 2.9e-07/1.011, allocations: 3.938 kB / 1.216 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007574/1.012, allocations: 197.3 kB / 1.217 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007959/1.013, allocations: 0.7387 MB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of Templates: time 0.007626/1.02, allocations: 3.371 MB / 1.221 GB, free: 0.8164 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches