Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001023/0.001023, allocations: 187 kB / 17.34 MB, free: 5.742 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003355/1.068, allocations: 1.774 MB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001253/1.07, allocations: 0.6264 MB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/1.07, allocations: 1.594 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/1.07, allocations: 22.73 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004225/1.07, allocations: 128.2 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/1.071, allocations: 159.5 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/1.071, allocations: 242.6 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/1.071, allocations: 40.58 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/1.072, allocations: 112.6 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006222/1.078, allocations: 1.05 MB / 1.093 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.969e-05/1.078, allocations: 17.88 kB / 1.093 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/1.078, allocations: 37.94 kB / 1.093 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/1.078, allocations: 43.25 kB / 1.093 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/1.078, allocations: 98.14 kB / 1.093 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004772/1.079, allocations: 219.4 kB / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.079, allocations: 0.9375 kB / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/1.079, allocations: 0 / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.079, allocations: 0 / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000803/1.08, allocations: 0.5576 MB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.08, allocations: 10.09 kB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/1.08, allocations: 22.23 kB / 1.094 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/1.08, allocations: 258.4 kB / 1.094 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.08, allocations: 11.31 kB / 1.094 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/1.08, allocations: 16.92 kB / 1.094 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/1.08, allocations: 104.9 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.081, allocations: 0 / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/1.081, allocations: 10.73 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.081, allocations: 2.312 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/1.081, allocations: 60.27 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/1.082, allocations: 489.9 kB / 1.095 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/1.082, allocations: 114.9 kB / 1.095 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/1.082, allocations: 39.47 kB / 1.095 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/1.082, allocations: 5.578 kB / 1.095 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/1.082, allocations: 109 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/1.082, allocations: 0 / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004058/1.083, allocations: 182.4 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.083, allocations: 55.7 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/1.083, allocations: 207.3 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.083, allocations: 34.14 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/1.083, allocations: 124.2 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/1.083, allocations: 44.45 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/1.083, allocations: 58.77 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/1.083, allocations: 329.4 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/1.084, allocations: 67.38 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/1.084, allocations: 130.8 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/1.084, allocations: 214.4 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.084, allocations: 0 / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006711/1.085, allocations: 326.2 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/1.085, allocations: 65.19 kB / 1.097 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.085, allocations: 6.859 kB / 1.097 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.085, allocations: 6.75 kB / 1.097 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/1.085, allocations: 27.86 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/1.085, allocations: 3.609 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/1.085, allocations: 21.36 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/1.085, allocations: 15.67 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001313/1.085, allocations: 142.8 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/1.086, allocations: 19.94 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/1.086, allocations: 154.6 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.086, allocations: 5.891 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.086, allocations: 0 / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.086, allocations: 1.484 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/1.087, allocations: 488 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.087, allocations: 0 / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/1.087, allocations: 11.69 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.087, allocations: 1.125 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.087, allocations: 1.688 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.087, allocations: 5.656 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.087, allocations: 0.7969 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/1.087, allocations: 239 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/1.087, allocations: 101.7 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/1.087, allocations: 2.953 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/1.087, allocations: 7.375 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/1.087, allocations: 16.12 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/1.087, allocations: 19.7 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001537/1.088, allocations: 146 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.088, allocations: 1.312 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003466/1.088, allocations: 49.12 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004145/1.088, allocations: 175.8 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004895/1.089, allocations: 253 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.089, allocations: 1.188 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/1.089, allocations: 50.58 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/1.089, allocations: 69.33 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/1.09, allocations: 350.2 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.091, allocations: 0.7272 MB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/1.091, allocations: 24.16 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.091, allocations: 0 / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.008603/1.099, allocations: 3.282 MB / 1.103 GB, free: 13.74 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches