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.001179/0.001179, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007669/0.007669, allocations: 171.9 kB / 16.27 MB, free: 6.656 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.796/2.796, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005966/0.0005966, allocations: 8.938 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3776, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002406/0.3801, allocations: 1.581 MB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3814, allocations: 0.6319 MB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3816, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.3818, allocations: 19.86 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.3822, allocations: 99.64 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.3826, allocations: 135.8 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.383, allocations: 219.4 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3831, allocations: 41.44 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.3833, allocations: 91.67 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03653/0.4198, allocations: 2.425 MB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.4199, allocations: 8 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.4201, allocations: 24 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.4202, allocations: 27.91 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.4205, allocations: 117.1 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.4209, allocations: 191.4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4209, allocations: 4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4209, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.4209, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 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.001189/0.4221, allocations: 0.4908 MB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4222, allocations: 15.97 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.4223, allocations: 24.66 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4226, allocations: 240.5 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4226, allocations: 4 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.4227, allocations: 16 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.4229, allocations: 102.2 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4229, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4229, allocations: 4 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4229, allocations: 3.938 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.423, allocations: 59.91 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.4239, allocations: 484.3 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.4241, allocations: 82.48 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.4241, allocations: 33 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4242, allocations: 7.938 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.4243, allocations: 94.73 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.4243, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003489/0.4247, allocations: 157.5 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4248, allocations: 55.41 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.425, allocations: 190.9 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.4251, allocations: 33.7 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4252, allocations: 124.4 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4253, allocations: 31.55 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.4253, allocations: 29.7 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.4256, allocations: 326.8 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.4256, allocations: 31.98 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.4259, allocations: 124.5 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.4261, allocations: 109 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4261, allocations: 0 / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002893/0.4264, allocations: 149.1 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4264, allocations: 4 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4265, allocations: 4 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4265, allocations: 8.094 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4266, allocations: 23.98 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4266, allocations: 3.938 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.4268, allocations: 19.89 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.4269, allocations: 12 kB / 1.067 GB, free: 12.65 MB / 0.8262 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.0001645/0.427, allocations: 129.8 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.4271, allocations: 15.81 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.4273, allocations: 135 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4273, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4273, allocations: 4 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4274, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.428, allocations: 466.2 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.428, allocations: 4 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.428, allocations: 8 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.428, allocations: 3.984 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4281, allocations: 4 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4281, allocations: 0 / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4281, allocations: 4 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.4283, allocations: 215.2 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.4284, allocations: 108.8 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4284, allocations: 0 / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4285, allocations: 19.98 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.4286, allocations: 15.98 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.4287, allocations: 11.94 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000132/0.4288, allocations: 140.9 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4288, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003224/0.4291, allocations: 43.89 kB / 1.068 GB, free: 11.25 MB / 0.8262 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.0003778/0.4295, allocations: 156.5 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.4298, allocations: 105.5 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4298, allocations: 0 / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.4299, allocations: 39.98 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.4303, allocations: 43.84 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.431, allocations: 354.2 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4313, allocations: 0.7244 MB / 1.07 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.4314, allocations: 21.53 kB / 1.07 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.4314, allocations: 23.42 kB / 1.07 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.4314, allocations: 0 / 1.07 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of Templates: time 0.007652/0.4391, allocations: 3.116 MB / 1.073 GB, free: 6.672 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches