Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 55.91 kB / 0.8692 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6801, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003665/0.6838, allocations: 1.773 MB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.6851, allocations: 0.6311 MB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.6852, allocations: 7.938 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.6854, allocations: 31.72 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.6858, allocations: 111.6 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.6862, allocations: 158.7 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.6865, allocations: 239.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.6866, allocations: 37.67 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.6868, allocations: 115.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006083/0.6929, allocations: 1.035 MB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/0.693, allocations: 20 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.6931, allocations: 32 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.6932, allocations: 51.77 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.6933, allocations: 91.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.6937, allocations: 219.3 kB / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6937, allocations: 0 / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6937, allocations: 0 / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.6937, allocations: 0 / 1.022 GB, free: 14.26 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008156/0.6945, allocations: 0.5604 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6946, allocations: 12.03 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.729e-05/0.6947, allocations: 24.66 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.695, allocations: 248 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.695, allocations: 12.38 kB / 1.023 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.6951, allocations: 16.12 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.6953, allocations: 103.5 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6953, allocations: 0 / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.6953, allocations: 11.98 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6953, allocations: 7.984 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.6955, allocations: 55.97 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.6964, allocations: 496.1 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.6966, allocations: 114.7 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.6967, allocations: 40.84 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.6967, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.6969, allocations: 103.3 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.6969, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003543/0.6973, allocations: 173.3 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.6973, allocations: 59.34 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.6975, allocations: 204.8 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.6976, allocations: 33.7 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.6977, allocations: 124.4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.6977, allocations: 43.44 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6978, allocations: 61.67 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.698, allocations: 334.8 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.6982, allocations: 63.95 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.6984, allocations: 129.1 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.6987, allocations: 221.2 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6987, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005754/0.6993, allocations: 326.4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.6994, allocations: 70.67 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6994, allocations: 7.938 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6994, allocations: 4 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.6995, allocations: 19.94 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6995, allocations: 7.984 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.6997, allocations: 15.84 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.6997, allocations: 23.97 kB / 1.025 GB, free: 10.28 MB / 0.7794 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.000134/0.6999, allocations: 144 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.6999, allocations: 19.81 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.7002, allocations: 157.3 kB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7002, allocations: 0 / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7002, allocations: 0 / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7002, allocations: 4 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.7008, allocations: 490.2 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7008, allocations: 0 / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.7008, allocations: 11.94 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7008, allocations: 4 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.7009, allocations: 3.984 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7009, allocations: 0 / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7009, allocations: 0 / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.7011, allocations: 246.7 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.7012, allocations: 100.9 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.7012, allocations: 4 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7013, allocations: 11.98 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.7014, allocations: 15.97 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.7014, allocations: 8 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001435/0.7016, allocations: 148.5 kB / 1.027 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.644e-06/0.7016, allocations: 0 / 1.027 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003117/0.7019, allocations: 63.77 kB / 1.027 GB, free: 8.781 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: 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.0003723/0.7023, allocations: 150.2 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.7027, allocations: 270.7 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7028, allocations: 0 / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.7028, allocations: 59.89 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.7033, allocations: 65.14 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006446/0.7039, allocations: 314.6 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.7043, allocations: 0.7281 MB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.793e-05/0.7044, allocations: 29.92 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.7044, allocations: 23.42 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.7044, allocations: 0 / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of Templates: time 0.007939/0.7124, allocations: 3.55 MB / 1.032 GB, free: 3.578 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches