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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001147/0.001147, allocations: 110.6 kB / 16.41 MB, free: 6.023 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.001102/0.001102, allocations: 192.3 kB / 17.34 MB, free: 5.629 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.89 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7169, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002944/0.7199, allocations: 1.78 MB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.721, allocations: 0.5966 MB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.7211, allocations: 4 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.7213, allocations: 35.7 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.7216, allocations: 123.4 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.722, allocations: 149.1 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.7223, allocations: 223.5 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.7225, allocations: 45.47 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.7226, allocations: 111.7 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005656/0.7283, allocations: 0.8029 MB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.7283, allocations: 16 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.7284, allocations: 43.92 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.7285, allocations: 35.91 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.7287, allocations: 91.5 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.7291, allocations: 208.2 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7291, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7291, allocations: 4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.7291, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 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.0009868/0.7301, allocations: 0.5333 MB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7302, allocations: 12.92 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.7303, allocations: 28.73 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.7306, allocations: 252.6 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.7307, allocations: 4 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.7307, allocations: 16 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.7309, allocations: 98.77 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.7309, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.7309, allocations: 4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.731, allocations: 3.938 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.7311, allocations: 55.97 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.7319, allocations: 464.4 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.7321, allocations: 78.55 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.7321, allocations: 36.8 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.7322, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.7324, allocations: 108.5 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.7324, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0003027/0.7327, allocations: 146.8 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.7328, allocations: 59.41 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.733, allocations: 196 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.7331, allocations: 33.7 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.7332, allocations: 124.5 kB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.7332, allocations: 31.75 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.7333, allocations: 61.62 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.7335, allocations: 326.8 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.7336, allocations: 31.98 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.7339, allocations: 122.8 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.7341, allocations: 107.6 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7341, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002623/0.7343, allocations: 157.4 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7344, allocations: 11.94 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7344, allocations: 3.938 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7344, allocations: 7.938 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.7345, allocations: 12 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7345, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.7347, allocations: 23.94 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.7347, allocations: 4 kB / 1.174 GB, free: 12.44 MB / 0.9044 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.0001447/0.7349, allocations: 145.9 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.7349, allocations: 15.91 kB / 1.175 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.7351, allocations: 127.1 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.7351, allocations: 7.984 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7352, allocations: 0 / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7352, allocations: 4.031 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.7357, allocations: 458.1 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7358, allocations: 7.938 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.7358, allocations: 8 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7358, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.7358, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7358, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7358, allocations: 4 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.7361, allocations: 219.3 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.7362, allocations: 100.9 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.7362, allocations: 8 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.7363, allocations: 7.984 kB / 1.176 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.7364, allocations: 19.92 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.7364, allocations: 11.98 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001212/0.7365, allocations: 135.1 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7365, allocations: 0 / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002825/0.7368, allocations: 43.98 kB / 1.176 GB, free: 11.04 MB / 0.9044 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.0004428/0.7373, allocations: 177.3 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.7375, allocations: 95.84 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7375, allocations: 0 / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.7376, allocations: 43.92 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.738, allocations: 45.98 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/0.7386, allocations: 294.8 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.739, allocations: 0.7205 MB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.739, allocations: 21.53 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.7391, allocations: 23.44 kB / 1.177 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.7391, allocations: 3.938 kB / 1.177 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of Templates: time 0.007297/0.7464, allocations: 3.329 MB / 1.18 GB, free: 6.289 MB / 0.9044 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 -s cvode -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