Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.0015/0.001501, allocations: 111 kB / 16.42 MB, free: 6.461 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.001455/0.001455, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 64.11 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.064, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003481/1.068, allocations: 1.774 MB / 1.223 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001322/1.069, allocations: 0.6205 MB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/1.069, allocations: 4 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002417/1.07, allocations: 23.73 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004765/1.07, allocations: 131.4 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/1.071, allocations: 162.7 kB / 1.224 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00036/1.071, allocations: 239.5 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/1.071, allocations: 37.67 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/1.071, allocations: 111.6 kB / 1.224 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006263/1.078, allocations: 1.057 MB / 1.225 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/1.078, allocations: 16 kB / 1.225 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/1.078, allocations: 36 kB / 1.225 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/1.078, allocations: 47.83 kB / 1.225 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/1.078, allocations: 95.5 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/1.078, allocations: 215.3 kB / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.078, allocations: 0 / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.533e-06/1.078, allocations: 0 / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.078, allocations: 0 / 1.225 GB, free: 14.08 MB / 0.9512 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.001044/1.08, allocations: 0.5622 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.08, allocations: 12.02 kB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/1.08, allocations: 28.66 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/1.08, allocations: 249.6 kB / 1.226 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/1.08, allocations: 12.38 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/1.08, allocations: 16.12 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/1.08, allocations: 101.6 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.08, allocations: 0 / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/1.08, allocations: 11.98 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.08, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/1.081, allocations: 59.83 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/1.081, allocations: 496.2 kB / 1.227 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/1.082, allocations: 110.7 kB / 1.227 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/1.082, allocations: 44.84 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/1.082, allocations: 0 / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/1.082, allocations: 99.36 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/1.082, allocations: 0 / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003613/1.082, allocations: 183.1 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.082, allocations: 55.41 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/1.083, allocations: 203.8 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/1.083, allocations: 37.7 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/1.083, allocations: 124.3 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/1.083, allocations: 43.53 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.083, allocations: 61.61 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.083, allocations: 330.8 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/1.083, allocations: 59.95 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/1.083, allocations: 133.7 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/1.084, allocations: 217.3 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.084, allocations: 0 / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005948/1.084, allocations: 332.5 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/1.084, allocations: 63.39 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.084, allocations: 4 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/1.084, allocations: 3.938 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/1.085, allocations: 23.94 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.085, allocations: 7.984 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/1.085, allocations: 20 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/1.085, allocations: 19.98 kB / 1.229 GB, free: 10.09 MB / 0.9512 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.000139/1.085, allocations: 144.6 kB / 1.229 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/1.085, allocations: 15.81 kB / 1.229 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/1.085, allocations: 151.4 kB / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/1.085, allocations: 3.938 kB / 1.229 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.085, allocations: 0 / 1.229 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/1.085, allocations: 108.8 kB / 1.229 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/1.085, allocations: 4 kB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/1.086, allocations: 11.98 kB / 1.229 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/1.086, allocations: 11.98 kB / 1.229 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002531/1.086, allocations: 216.8 kB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002561/1.086, allocations: 325 kB / 1.23 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.47e-05/1.086, allocations: 51.97 kB / 1.23 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000113/1.086, allocations: 149.5 kB / 1.23 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of Backend: time 5.21e-07/1.086, allocations: 0 / 1.23 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009644/1.087, allocations: 370.6 kB / 1.23 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008319/1.088, allocations: 0.7654 MB / 1.231 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of Templates: time 0.008284/1.096, allocations: 3.656 MB / 1.235 GB, free: 4.062 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches