Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.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_11_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_11_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.001093/0.001093, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009282/0.009282, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.95/2.95, allocations: 470.6 MB / 0.7442 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000796/0.0007962, allocations: 11.64 kB / 0.9123 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3379, allocations: 161.4 MB / 1.07 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002746/0.3407, allocations: 1.594 MB / 1.071 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3424, allocations: 0.6472 MB / 1.072 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.3426, allocations: 3.938 kB / 1.072 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.3428, allocations: 15.86 kB / 1.072 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.3433, allocations: 103.6 kB / 1.072 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3438, allocations: 148.7 kB / 1.072 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.3442, allocations: 231.4 kB / 1.073 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3444, allocations: 37.61 kB / 1.073 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.3446, allocations: 95.61 kB / 1.073 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04861/0.3932, allocations: 2.642 MB / 1.075 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.104e-05/0.3933, allocations: 12 kB / 1.075 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3935, allocations: 27.98 kB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.3936, allocations: 39.83 kB / 1.075 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.3938, allocations: 105.2 kB / 1.075 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.3942, allocations: 203.3 kB / 1.076 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3942, allocations: 4 kB / 1.076 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3942, allocations: 0 / 1.076 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3942, allocations: 0 / 1.076 GB, free: 6.188 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001194/0.3954, allocations: 0.51 MB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3955, allocations: 11.97 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3956, allocations: 28.66 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.3961, allocations: 256 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3961, allocations: 12.38 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.3962, allocations: 16.12 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.3965, allocations: 107.1 kB / 1.077 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3966, allocations: 0 / 1.077 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.3966, allocations: 3.984 kB / 1.077 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3966, allocations: 4 kB / 1.077 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3967, allocations: 59.91 kB / 1.077 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3979, allocations: 0.4963 MB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.3982, allocations: 109.3 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.3983, allocations: 36.84 kB / 1.077 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3983, allocations: 4 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.3985, allocations: 111.3 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.3986, allocations: 3.938 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004189/0.399, allocations: 172.8 kB / 1.078 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.3991, allocations: 59.41 kB / 1.078 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3993, allocations: 207.6 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.3994, allocations: 33.7 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3995, allocations: 120.5 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.3996, allocations: 43.45 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.3996, allocations: 33.7 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3998, allocations: 334.8 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.4, allocations: 59.95 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.4003, allocations: 134.5 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.4007, allocations: 209.3 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4007, allocations: 0 / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007082/0.4014, allocations: 332.6 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.4015, allocations: 67.55 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4015, allocations: 11.92 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4015, allocations: 4 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.4016, allocations: 19.92 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.4017, allocations: 7.938 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.4019, allocations: 27.83 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.4019, allocations: 8 kB / 1.079 GB, free: 2.27 MB / 0.8262 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.0001721/0.4021, allocations: 144.1 kB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.4021, allocations: 15.81 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.4025, allocations: 155.3 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4025, allocations: 0 / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4025, allocations: 3.984 kB / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4025, allocations: 0 / 1.079 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008232/0.4033, allocations: 498.2 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4034, allocations: 4 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.4034, allocations: 7.984 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4034, allocations: 4 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4034, allocations: 4 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4034, allocations: 0 / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4035, allocations: 0 / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.4038, allocations: 250.6 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.4039, allocations: 112.8 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.4039, allocations: 8 kB / 1.08 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.404, allocations: 7.984 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.4041, allocations: 15.98 kB / 1.08 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4042, allocations: 11.98 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001599/0.4043, allocations: 145.5 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4043, allocations: 0 / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003779/0.4047, allocations: 40 kB / 1.081 GB, free: 0.7734 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: 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.0004467/0.4052, allocations: 170 kB / 1.081 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004521/0.4056, allocations: 256.3 kB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.4057, allocations: 4 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.4058, allocations: 55.86 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.4063, allocations: 59.81 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.4072, allocations: 375.1 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.4077, allocations: 0.7245 MB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.678e-05/0.4078, allocations: 25.94 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.4079, allocations: 23.42 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4079, allocations: 4 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.009071/0.417, allocations: 3.345 MB / 1.085 GB, free: 11.71 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches