Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 222.3 kB / 22.25 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.189/3.189, allocations: 0.49 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 70.97 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003333/0.363, allocations: 1.753 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3643, allocations: 0.6197 MB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.3644, allocations: 4 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.3646, allocations: 31.72 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.365, allocations: 131.4 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.3654, allocations: 155 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.3657, allocations: 251.4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3659, allocations: 30 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.366, allocations: 111.6 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0084/0.3744, allocations: 1.055 MB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.3745, allocations: 20 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3746, allocations: 35.98 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.3747, allocations: 47.83 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3748, allocations: 83.56 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3752, allocations: 227.1 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3752, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3752, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3752, allocations: 4 kB / 1.33 GB, free: 13.27 MB / 1.029 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.0008578/0.3761, allocations: 497.5 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3761, allocations: 8.031 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.169e-05/0.3762, allocations: 46.73 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.3763, allocations: 24.8 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.3766, allocations: 198.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3767, allocations: 12.38 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.3767, allocations: 15.94 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3769, allocations: 107.7 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3769, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3769, allocations: 11.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.377, allocations: 4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3771, allocations: 59.83 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.378, allocations: 423.5 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.3783, allocations: 98.73 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.3784, allocations: 32.78 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3784, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3786, allocations: 107.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3786, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003629/0.379, allocations: 181.4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.379, allocations: 55.41 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.3792, allocations: 207.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3793, allocations: 29.7 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3794, allocations: 132.4 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.3794, allocations: 39.67 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3795, allocations: 65.67 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3797, allocations: 330.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3799, allocations: 123.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.3802, allocations: 240.7 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.3805, allocations: 213.3 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3805, allocations: 0 / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006883/0.3812, allocations: 396 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.3813, allocations: 71.33 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3813, allocations: 4 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3813, allocations: 8.203 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.3814, allocations: 19.98 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.3814, allocations: 11.92 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.3816, allocations: 19.89 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.3816, allocations: 15.98 kB / 1.334 GB, free: 9.191 MB / 1.029 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.0001595/0.3818, allocations: 142.1 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3818, allocations: 27.73 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.3821, allocations: 145.4 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3821, allocations: 4 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3821, allocations: 4 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3821, allocations: 0 / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.3828, allocations: 445.3 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3828, allocations: 4 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.3828, allocations: 7.938 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3828, allocations: 0 / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3828, allocations: 11.98 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3828, allocations: 0 / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3828, allocations: 0 / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3831, allocations: 241.9 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.3832, allocations: 31.83 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3832, allocations: 8 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3833, allocations: 7.984 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.3834, allocations: 15.97 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3834, allocations: 8 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001414/0.3836, allocations: 145.5 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3836, allocations: 0 / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003335/0.3839, allocations: 55.81 kB / 1.335 GB, free: 7.836 MB / 1.029 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.0009581/0.3849, allocations: 0.8487 MB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3853, allocations: 309.9 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3854, allocations: 4 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.3854, allocations: 39.98 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.3859, allocations: 60.41 kB / 1.336 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.3892, allocations: 2.505 MB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.3893, allocations: 124.3 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.3894, allocations: 25.94 kB / 1.339 GB, free: 3.695 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3896, allocations: 59.34 kB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.3896, allocations: 0 / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.4258, allocations: 6.415 MB / 1.345 GB, free: 13.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.07, allocations: 7.062 kB / 1.345 GB, free: 13.42 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.812876369978767]