Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001873/0.001873, allocations: 115.1 kB / 16.81 MB, free: 5.766 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.002084/0.002084, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.519/1.519, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 61.97 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003179/0.3721, allocations: 1.784 MB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3733, allocations: 0.6055 MB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3733, allocations: 0 / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.3735, allocations: 27.72 kB / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.3739, allocations: 119.4 kB / 1.264 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.3742, allocations: 153.5 kB / 1.265 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.3745, allocations: 227.4 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3746, allocations: 29.55 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3748, allocations: 107.7 kB / 1.265 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006255/0.381, allocations: 0.818 MB / 1.266 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-05/0.3811, allocations: 16 kB / 1.266 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.3813, allocations: 39.94 kB / 1.266 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.3813, allocations: 35.91 kB / 1.266 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.3815, allocations: 87.5 kB / 1.266 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.3819, allocations: 215.1 kB / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3819, allocations: 0 / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3819, allocations: 4 kB / 1.266 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3819, allocations: 0 / 1.266 GB, free: 8.879 MB / 0.9825 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.0009032/0.3828, allocations: 0.5372 MB / 1.267 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3829, allocations: 11.97 kB / 1.267 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.3829, allocations: 24.8 kB / 1.267 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3833, allocations: 249.1 kB / 1.267 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3833, allocations: 8 kB / 1.267 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.3833, allocations: 23.98 kB / 1.267 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3835, allocations: 93.66 kB / 1.267 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3836, allocations: 0 / 1.267 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3836, allocations: 0 / 1.267 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3836, allocations: 7.938 kB / 1.267 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3837, allocations: 54.78 kB / 1.267 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008732/0.3846, allocations: 468.4 kB / 1.268 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3847, allocations: 70.48 kB / 1.268 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.3848, allocations: 32.84 kB / 1.268 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3848, allocations: 0 / 1.268 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.385, allocations: 101.7 kB / 1.268 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.385, allocations: 4 kB / 1.268 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003605/0.3853, allocations: 141.7 kB / 1.268 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3854, allocations: 63.34 kB / 1.268 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.3856, allocations: 196 kB / 1.268 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.3857, allocations: 33.7 kB / 1.268 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3858, allocations: 116.5 kB / 1.268 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3858, allocations: 43.69 kB / 1.268 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.3859, allocations: 53.67 kB / 1.268 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.386, allocations: 330.8 kB / 1.269 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.3861, allocations: 27.98 kB / 1.269 GB, free: 6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.3864, allocations: 126.9 kB / 1.269 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.3865, allocations: 111.6 kB / 1.269 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3865, allocations: 0 / 1.269 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002592/0.3868, allocations: 153.3 kB / 1.269 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3868, allocations: 8.156 kB / 1.269 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3868, allocations: 4 kB / 1.269 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3868, allocations: 3.938 kB / 1.269 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3869, allocations: 23.98 kB / 1.269 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3869, allocations: 0 / 1.269 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.3871, allocations: 27.88 kB / 1.269 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3871, allocations: 4 kB / 1.269 GB, free: 5.496 MB / 0.9825 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.0001433/0.3873, allocations: 137.8 kB / 1.269 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.3873, allocations: 15.91 kB / 1.269 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.3875, allocations: 139.1 kB / 1.269 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3875, allocations: 3.938 kB / 1.269 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3875, allocations: 0 / 1.269 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.3876, allocations: 104.9 kB / 1.27 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3877, allocations: 0 / 1.27 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.3877, allocations: 15.98 kB / 1.27 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.3878, allocations: 7.984 kB / 1.27 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002574/0.3881, allocations: 199 kB / 1.27 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002654/0.3883, allocations: 298.6 kB / 1.27 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.625e-05/0.3884, allocations: 43.97 kB / 1.27 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001258/0.3885, allocations: 139.1 kB / 1.27 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/0.3885, allocations: 0 / 1.27 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.3893, allocations: 192.9 kB / 1.27 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0008226/0.3901, allocations: 0.7429 MB / 1.271 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of Templates: time 0.008073/0.3982, allocations: 3.426 MB / 1.275 GB, free: 15.99 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches