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.0009121/0.0009124, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.00111/0.00111, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.3 MB / 240 MB, free: 5.414 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.921/2.921, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004494, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7645, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002413/0.767, allocations: 1.541 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.7681, allocations: 0.6048 MB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.7682, allocations: 7.875 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.7684, allocations: 35.8 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.7688, allocations: 99.58 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.7692, allocations: 139.7 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.7694, allocations: 191.5 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.7696, allocations: 29.55 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.7697, allocations: 91.67 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/0.7735, allocations: 2.269 MB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.7735, allocations: 8 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.7736, allocations: 27.98 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.7737, allocations: 23.91 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.7738, allocations: 49.58 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.774, allocations: 135.7 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.774, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7741, allocations: 4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7741, allocations: 4 kB / 1.028 GB, free: 10.8 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.0008087/0.7749, allocations: 0.4944 MB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7749, allocations: 12.03 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.775, allocations: 27.66 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.7753, allocations: 243.5 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.7753, allocations: 16.19 kB / 1.028 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.7754, allocations: 12 kB / 1.028 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.7756, allocations: 91.91 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.7756, allocations: 0 / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.7756, allocations: 11.98 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7756, allocations: 0 / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.7758, allocations: 52.53 kB / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.7766, allocations: 484.3 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.7768, allocations: 82.5 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.7768, allocations: 32.84 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.7769, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.777, allocations: 99.34 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.7771, allocations: 3.938 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003423/0.7774, allocations: 150.6 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.7775, allocations: 59.41 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.7777, allocations: 195 kB / 1.029 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.7777, allocations: 37.69 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.7779, allocations: 116.5 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.7779, allocations: 31.55 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.7779, allocations: 8 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7781, allocations: 326.8 kB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.7781, allocations: 31.98 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.7784, allocations: 120.5 kB / 1.03 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.184e-05/0.7785, allocations: 47.94 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7785, allocations: 4.219 kB / 1.03 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002457/0.7787, allocations: 151.4 kB / 1.03 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7787, allocations: 11.94 kB / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7788, allocations: 0 / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7788, allocations: 4 kB / 1.03 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.7789, allocations: 19.92 kB / 1.03 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.7789, allocations: 0 / 1.03 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.7791, allocations: 35.98 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.7791, allocations: 4 kB / 1.03 GB, free: 7.578 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.7792, allocations: 133.8 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.7793, allocations: 23.75 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.7795, allocations: 123.1 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.7795, allocations: 0 / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7795, allocations: 0 / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7795, allocations: 8 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.7801, allocations: 466.2 kB / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7801, allocations: 0 / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.7801, allocations: 7.984 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.7801, allocations: 4 kB / 1.031 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.7802, allocations: 0 / 1.031 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7802, allocations: 4 kB / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7802, allocations: 0 / 1.031 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.7804, allocations: 231.1 kB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.7805, allocations: 100.9 kB / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.7805, allocations: 0 / 1.031 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.7806, allocations: 19.98 kB / 1.031 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.7807, allocations: 15.97 kB / 1.031 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.7807, allocations: 8 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000121/0.7808, allocations: 135.2 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7808, allocations: 3.938 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003007/0.7812, allocations: 43.91 kB / 1.032 GB, free: 6.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003843/0.7815, allocations: 163.8 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.7818, allocations: 93.2 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7818, allocations: 320 / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.7819, allocations: 43.98 kB / 1.032 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.7823, allocations: 54.03 kB / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006352/0.7829, allocations: 327.8 kB / 1.032 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.7832, allocations: 0.7205 MB / 1.033 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.499e-05/0.7833, allocations: 29.47 kB / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.7834, allocations: 19.44 kB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7834, allocations: 0 / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.006708/0.7901, allocations: 3.009 MB / 1.036 GB, free: 1.723 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches