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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9972/0.9993, allocations: 173.9 MB / 1.304 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002717/1.002, allocations: 1.786 MB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001027/1.003, allocations: 0.6331 MB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/1.003, allocations: 2.906 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/1.003, allocations: 23.34 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/1.004, allocations: 124.5 kB / 1.306 GB, free: 30.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/1.004, allocations: 157.4 kB / 1.307 GB, free: 30.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/1.004, allocations: 242.6 kB / 1.307 GB, free: 30.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/1.004, allocations: 36.72 kB / 1.307 GB, free: 30.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/1.004, allocations: 106.7 kB / 1.307 GB, free: 30.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007559/1.012, allocations: 1.053 MB / 1.308 GB, free: 29.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/1.012, allocations: 17.06 kB / 1.308 GB, free: 29.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/1.012, allocations: 43.41 kB / 1.308 GB, free: 29.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/1.012, allocations: 36.78 kB / 1.308 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/1.012, allocations: 97.08 kB / 1.308 GB, free: 29.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/1.013, allocations: 222 kB / 1.308 GB, free: 29.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.013, allocations: 0 / 1.308 GB, free: 29.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.013, allocations: 0 / 1.308 GB, free: 29.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.611e-06/1.013, allocations: 0 / 1.308 GB, free: 29.74 MB / 1.061 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.0006544/1.013, allocations: 0.5664 MB / 1.309 GB, free: 29.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.013, allocations: 8.625 kB / 1.309 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/1.013, allocations: 40.73 kB / 1.309 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/1.013, allocations: 27.5 kB / 1.309 GB, free: 29.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/1.014, allocations: 257.1 kB / 1.309 GB, free: 28.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/1.014, allocations: 13.78 kB / 1.309 GB, free: 28.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/1.014, allocations: 19.41 kB / 1.309 GB, free: 28.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/1.014, allocations: 110.4 kB / 1.309 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.014, allocations: 0 / 1.309 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/1.014, allocations: 6.906 kB / 1.309 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.014, allocations: 2.781 kB / 1.309 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/1.014, allocations: 61.42 kB / 1.309 GB, free: 28.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/1.015, allocations: 483.6 kB / 1.31 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/1.015, allocations: 105.6 kB / 1.31 GB, free: 28.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/1.015, allocations: 39.16 kB / 1.31 GB, free: 28.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.015, allocations: 7.125 kB / 1.31 GB, free: 28.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/1.015, allocations: 106 kB / 1.31 GB, free: 28.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/1.015, allocations: 0 / 1.31 GB, free: 28.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.000288/1.016, allocations: 171.9 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/1.016, allocations: 63.77 kB / 1.31 GB, free: 28.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/1.016, allocations: 198 kB / 1.311 GB, free: 28.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.016, allocations: 39.36 kB / 1.311 GB, free: 28.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/1.016, allocations: 130.3 kB / 1.311 GB, free: 27.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/1.016, allocations: 35.67 kB / 1.311 GB, free: 27.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/1.016, allocations: 63.86 kB / 1.311 GB, free: 27.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/1.016, allocations: 328.7 kB / 1.311 GB, free: 27.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/1.016, allocations: 68.47 kB / 1.311 GB, free: 27.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/1.016, allocations: 128.7 kB / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/1.016, allocations: 215.9 kB / 1.312 GB, free: 27.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.016, allocations: 3.25 kB / 1.312 GB, free: 27.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004739/1.017, allocations: 322.9 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/1.017, allocations: 77.52 kB / 1.312 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.017, allocations: 0 / 1.312 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.017, allocations: 2.844 kB / 1.312 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/1.017, allocations: 17.97 kB / 1.312 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.017, allocations: 6.078 kB / 1.312 GB, free: 27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/1.017, allocations: 31.2 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/1.017, allocations: 12.77 kB / 1.312 GB, free: 26.98 MB / 1.061 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 9.516e-05/1.017, allocations: 149.1 kB / 1.312 GB, free: 26.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/1.017, allocations: 24.05 kB / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/1.018, allocations: 150 kB / 1.312 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.018, allocations: 2.562 kB / 1.312 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.018, allocations: 0 / 1.312 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.018, allocations: 3.938 kB / 1.312 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/1.018, allocations: 484.9 kB / 1.313 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.018, allocations: 0 / 1.313 GB, free: 26.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/1.018, allocations: 13.05 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.018, allocations: 0 / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.018, allocations: 7.031 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.018, allocations: 3.984 kB / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.018, allocations: 0 / 1.313 GB, free: 26.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/1.018, allocations: 245.7 kB / 1.313 GB, free: 26.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/1.018, allocations: 98.83 kB / 1.313 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/1.018, allocations: 9.844 kB / 1.313 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.018, allocations: 10 kB / 1.313 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/1.019, allocations: 16.16 kB / 1.313 GB, free: 26.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/1.019, allocations: 12.77 kB / 1.313 GB, free: 26.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.421e-05/1.019, allocations: 153.7 kB / 1.313 GB, free: 25.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.019, allocations: 3.938 kB / 1.313 GB, free: 25.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003002/1.019, allocations: 43 kB / 1.313 GB, free: 25.96 MB / 1.061 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.0005979/1.02, allocations: 0.835 MB / 1.314 GB, free: 25.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003569/1.02, allocations: 253.1 kB / 1.314 GB, free: 25.08 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.02, allocations: 2.781 kB / 1.314 GB, free: 25.08 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/1.02, allocations: 53.42 kB / 1.314 GB, free: 25.06 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/1.02, allocations: 64.31 kB / 1.315 GB, free: 25.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/1.023, allocations: 2.253 MB / 1.317 GB, free: 23.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/1.023, allocations: 0.7313 MB / 1.317 GB, free: 22.67 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.86e-05/1.023, allocations: 27.64 kB / 1.317 GB, free: 22.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/1.023, allocations: 60.81 kB / 1.318 GB, free: 22.62 MB / 1.061 GB Notification: Performance of SimCode: time 7.61e-07/1.023, allocations: 0 / 1.318 GB, free: 22.62 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/1.053, allocations: 5.515 MB / 1.323 GB, free: 21.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.59/9.643, allocations: 6.391 kB / 1.323 GB, free: 21.86 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.233801605179906]