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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_10_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.001058/0.001058, allocations: 98.88 kB / 16.02 MB, free: 76 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.001312/0.001312, allocations: 183.3 kB / 16.92 MB, free: 6.777 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.457/1.457, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 12 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7274, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002211/0.7297, allocations: 1.579 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.731, allocations: 0.628 MB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.7311, allocations: 11.94 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.7313, allocations: 19.86 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.7317, allocations: 95.64 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.7321, allocations: 127.8 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.7324, allocations: 219.4 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.7325, allocations: 29.56 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.7327, allocations: 91.67 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03763/0.7704, allocations: 2.433 MB / 1.029 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.7705, allocations: 8 kB / 1.029 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.7707, allocations: 32 kB / 1.029 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.7708, allocations: 31.89 kB / 1.029 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.7709, allocations: 109.2 kB / 1.029 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.7712, allocations: 135.7 kB / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7712, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7712, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.7712, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.7794 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.0008382/0.7721, allocations: 0.5023 MB / 1.03 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7721, allocations: 12.03 kB / 1.03 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/0.7722, allocations: 20.66 kB / 1.03 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.7726, allocations: 236.6 kB / 1.03 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.7726, allocations: 23.92 kB / 1.03 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.7727, allocations: 11.94 kB / 1.03 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.7729, allocations: 96.47 kB / 1.03 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.773, allocations: 0 / 1.03 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.773, allocations: 4 kB / 1.03 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.773, allocations: 3.938 kB / 1.03 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.7731, allocations: 55.97 kB / 1.03 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/0.774, allocations: 488.2 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.7742, allocations: 78.55 kB / 1.031 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.7742, allocations: 28.84 kB / 1.031 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.7743, allocations: 4 kB / 1.031 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.7744, allocations: 91.94 kB / 1.031 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.7744, allocations: 0 / 1.031 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003364/0.7748, allocations: 153.5 kB / 1.031 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.7748, allocations: 59.39 kB / 1.031 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.7751, allocations: 192.4 kB / 1.031 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.7751, allocations: 33.7 kB / 1.031 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.7752, allocations: 120.5 kB / 1.031 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.7753, allocations: 35.55 kB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.7753, allocations: 25.7 kB / 1.031 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7755, allocations: 326.8 kB / 1.032 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.7756, allocations: 31.92 kB / 1.032 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.7758, allocations: 136.5 kB / 1.032 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.776, allocations: 105.1 kB / 1.032 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.776, allocations: 0 / 1.032 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002443/0.7762, allocations: 141.6 kB / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.7763, allocations: 4 kB / 1.032 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7763, allocations: 7.938 kB / 1.032 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7763, allocations: 3.938 kB / 1.032 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.7764, allocations: 27.92 kB / 1.032 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7764, allocations: 160 / 1.032 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.7766, allocations: 27.83 kB / 1.032 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.7767, allocations: 16 kB / 1.032 GB, free: 7.543 MB / 0.7794 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.0001216/0.7768, allocations: 129.8 kB / 1.032 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.7768, allocations: 19.8 kB / 1.032 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.7771, allocations: 127.1 kB / 1.032 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7771, allocations: 48 / 1.032 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7771, allocations: 11.98 kB / 1.032 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7771, allocations: 3.984 kB / 1.032 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.7777, allocations: 465.3 kB / 1.033 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7777, allocations: 0 / 1.033 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.7777, allocations: 15.92 kB / 1.033 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7777, allocations: 0 / 1.033 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.7777, allocations: 8 kB / 1.033 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7777, allocations: 0 / 1.033 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7778, allocations: 4 kB / 1.033 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.778, allocations: 211.3 kB / 1.033 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.7781, allocations: 100.9 kB / 1.033 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.7781, allocations: 4 kB / 1.033 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.7782, allocations: 15.98 kB / 1.033 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.7783, allocations: 15.98 kB / 1.033 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.7783, allocations: 7.984 kB / 1.033 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001226/0.7784, allocations: 135.4 kB / 1.033 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.563e-06/0.7784, allocations: 0 / 1.033 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003206/0.7788, allocations: 59.77 kB / 1.033 GB, free: 6.137 MB / 0.7794 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.0003692/0.7791, allocations: 166.9 kB / 1.033 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.7794, allocations: 92.16 kB / 1.034 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7794, allocations: 4.062 kB / 1.034 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.7795, allocations: 43.92 kB / 1.034 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.7799, allocations: 46.55 kB / 1.034 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.7806, allocations: 371.7 kB / 1.034 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.7809, allocations: 0.7205 MB / 1.035 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.781, allocations: 23.42 kB / 1.035 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.781, allocations: 0 / 1.035 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.005322/0.7863, allocations: 2.986 MB / 1.038 GB, free: 1.672 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches