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.001351/0.001351, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001565/0.001565, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.573/1.573, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.354/3.354, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.002074/0.002074, allocations: 74.14 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3578, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003232/0.361, allocations: 1.802 MB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3623, allocations: 0.6196 MB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.3624, allocations: 11.94 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.3626, allocations: 27.72 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.3629, allocations: 123.4 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.3633, allocations: 163.3 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.3637, allocations: 243.3 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3638, allocations: 25.95 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3639, allocations: 107.7 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008283/0.3722, allocations: 1.072 MB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-05/0.3723, allocations: 20 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3724, allocations: 32 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.3725, allocations: 35.84 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3726, allocations: 99.48 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.3731, allocations: 223.1 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3731, allocations: 3.984 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3731, allocations: 4 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3731, allocations: 0 / 1.325 GB, free: 15.03 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.0009364/0.374, allocations: 0.5564 MB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3741, allocations: 15.98 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.3741, allocations: 46.67 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.3742, allocations: 24.8 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.3746, allocations: 252.1 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3746, allocations: 16.38 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.3747, allocations: 19.94 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3749, allocations: 105.6 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.3749, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.3749, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3749, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.3751, allocations: 59.83 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3761, allocations: 492.3 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.3764, allocations: 98.64 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.3765, allocations: 32.89 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3765, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3767, allocations: 111.3 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3767, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003882/0.3771, allocations: 177.4 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3771, allocations: 51.41 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3773, allocations: 203.8 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.3774, allocations: 37.69 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3775, allocations: 132.5 kB / 1.328 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.3775, allocations: 47.61 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3777, allocations: 57.69 kB / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3778, allocations: 330.8 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.378, allocations: 67.89 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3782, allocations: 129.7 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.3786, allocations: 205.3 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3786, allocations: 0 / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006842/0.3793, allocations: 340.2 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.3793, allocations: 71.33 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3793, allocations: 0 / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.3794, allocations: 4 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.3795, allocations: 19.92 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.3795, allocations: 7.938 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3797, allocations: 23.94 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.3797, allocations: 12.14 kB / 1.329 GB, free: 11 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.0001687/0.3799, allocations: 153.8 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3799, allocations: 23.8 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.3802, allocations: 146.2 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3802, allocations: 4 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3802, allocations: 0 / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3802, allocations: 0 / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.381, allocations: 490.1 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.381, allocations: 4 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.381, allocations: 11.98 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.381, allocations: 0 / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.381, allocations: 4 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.381, allocations: 4 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.381, allocations: 3.938 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3813, allocations: 235.2 kB / 1.33 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3814, allocations: 108.9 kB / 1.33 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3815, allocations: 16 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3816, allocations: 11.92 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.3817, allocations: 15.98 kB / 1.33 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3817, allocations: 4 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001682/0.3819, allocations: 153.5 kB / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3819, allocations: 0 / 1.33 GB, free: 9.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00036/0.3822, allocations: 47.89 kB / 1.33 GB, free: 9.488 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.001069/0.3833, allocations: 0.8346 MB / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.3838, allocations: 246.5 kB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3839, allocations: 0 / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.384, allocations: 43.98 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.3845, allocations: 76.48 kB / 1.331 GB, free: 8.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.388, allocations: 2.263 MB / 1.334 GB, free: 5.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.3885, allocations: 0.728 MB / 1.334 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.3887, allocations: 29.94 kB / 1.334 GB, free: 5.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3888, allocations: 59.41 kB / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of SimCode: time 1.874e-06/0.3888, allocations: 4 kB / 1.334 GB, free: 5.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.4207, allocations: 5.494 MB / 1.34 GB, free: 15.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/9.053, allocations: 11.12 kB / 1.34 GB, free: 15.65 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable timSer.y[1] in file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[1] from file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! Error: Could not read variable timSer.y[2] in file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[2] from file Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.241371429059654]