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.001366/0.001366, allocations: 102.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.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.001518/0.001518, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.26/3.26, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.002113/0.002113, allocations: 69.91 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003256/0.3528, allocations: 1.813 MB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3539, allocations: 0.6313 MB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.354, allocations: 4 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.3542, allocations: 27.67 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.3546, allocations: 123.4 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.355, allocations: 153.7 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.3553, allocations: 243.4 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3554, allocations: 29.94 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3556, allocations: 115.7 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008049/0.3636, allocations: 1.054 MB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-05/0.3637, allocations: 20 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3638, allocations: 35.98 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.3639, allocations: 43.78 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.364, allocations: 95.48 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.3644, allocations: 230.9 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3644, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3644, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3644, allocations: 0 / 1.325 GB, free: 14.95 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.0008554/0.3653, allocations: 0.5564 MB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3653, allocations: 11.98 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.3654, allocations: 42.73 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.3654, allocations: 24.8 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.3658, allocations: 268.1 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3658, allocations: 8.375 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3658, allocations: 19.94 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.3661, allocations: 109.6 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.3661, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3661, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3661, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3662, allocations: 65.59 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.3671, allocations: 492.4 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3674, allocations: 98.64 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.055e-05/0.3674, allocations: 32.89 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3675, allocations: 4 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.3676, allocations: 107.3 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.3676, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003756/0.368, allocations: 172.5 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3681, allocations: 59.41 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3683, allocations: 207.7 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.3683, allocations: 33.7 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.3684, allocations: 128.5 kB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.3685, allocations: 47.61 kB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3686, allocations: 61.69 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3687, allocations: 330.8 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3689, allocations: 63.95 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.3691, allocations: 131.6 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.3694, allocations: 208.3 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3694, allocations: 4.031 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006186/0.37, allocations: 328.7 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/0.3701, allocations: 75.33 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3701, allocations: 0 / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3701, allocations: 4 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.3702, allocations: 19.92 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3702, allocations: 7.938 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.3704, allocations: 20.09 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.3705, allocations: 19.98 kB / 1.329 GB, free: 10.91 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.0001468/0.3706, allocations: 140 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.3706, allocations: 31.81 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.3709, allocations: 143.5 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3709, allocations: 0 / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3709, allocations: 8 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3709, allocations: 0 / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.3716, allocations: 498.1 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3716, allocations: 0 / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.3717, allocations: 7.938 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3717, allocations: 4 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3717, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3717, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3717, allocations: 0 / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.372, allocations: 254 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.3721, allocations: 108.9 kB / 1.33 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3721, allocations: 4 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3722, allocations: 11.98 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.3723, allocations: 7.984 kB / 1.33 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.3723, allocations: 15.98 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001418/0.3724, allocations: 145.5 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3724, allocations: 0 / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003342/0.3728, allocations: 51.89 kB / 1.33 GB, free: 9.406 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.0009065/0.3737, allocations: 0.8326 MB / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.3741, allocations: 246.6 kB / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3741, allocations: 0 / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.3742, allocations: 47.86 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3747, allocations: 78.81 kB / 1.331 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.3778, allocations: 2.263 MB / 1.334 GB, free: 5.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3781, allocations: 0.728 MB / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.3782, allocations: 29.94 kB / 1.334 GB, free: 5.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3784, allocations: 59.41 kB / 1.334 GB, free: 4.945 MB / 1.029 GB Notification: Performance of SimCode: time 8.91e-07/0.3784, allocations: 0 / 1.334 GB, free: 4.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.4068, allocations: 5.501 MB / 1.34 GB, free: 15.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/8.78, allocations: 4.641 kB / 1.34 GB, free: 15.56 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.626582722179592]