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.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.001794/0.001794, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002316/0.002316, allocations: 214.8 kB / 22.25 MB, free: 5.125 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.45/3.45, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002064/0.002064, allocations: 68.98 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00354/0.3661, allocations: 1.807 MB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.3675, allocations: 0.6397 MB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.3676, allocations: 0 / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.3678, allocations: 39.66 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.3683, allocations: 119.5 kB / 1.355 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.3687, allocations: 161.4 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.3691, allocations: 247.4 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3692, allocations: 33.97 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3694, allocations: 107.7 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008603/0.378, allocations: 1.059 MB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.3781, allocations: 20 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.3782, allocations: 39.94 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.3783, allocations: 43.83 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.3784, allocations: 91.52 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.3789, allocations: 223.1 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3789, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3789, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.3789, allocations: 4 kB / 1.357 GB, free: 4.078 MB / 1.045 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.0009605/0.3799, allocations: 496.6 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3799, allocations: 12.03 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.883e-05/0.38, allocations: 42.73 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3801, allocations: 32.73 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.3805, allocations: 190.3 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3805, allocations: 16.36 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.3805, allocations: 23.94 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3808, allocations: 106.5 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3808, allocations: 0 / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3808, allocations: 0 / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3808, allocations: 4 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.381, allocations: 63.89 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.382, allocations: 459.4 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.3823, allocations: 98.73 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.3824, allocations: 32.84 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3824, allocations: 0 / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.3826, allocations: 115.3 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.3826, allocations: 0 / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.000394/0.383, allocations: 173.4 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.3831, allocations: 59.41 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.3833, allocations: 199.8 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.3834, allocations: 33.7 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3835, allocations: 128.4 kB / 1.36 GB, free: 1.652 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.3835, allocations: 43.69 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3836, allocations: 65.67 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3838, allocations: 330.8 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.384, allocations: 63.95 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3842, allocations: 129 kB / 1.36 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.3846, allocations: 212.2 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3846, allocations: 0 / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006614/0.3852, allocations: 340.6 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.3853, allocations: 75.33 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3853, allocations: 0 / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3853, allocations: 4 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.3854, allocations: 15.98 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.3854, allocations: 7.938 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.3856, allocations: 31.81 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3856, allocations: 8 kB / 1.361 GB, free: 256 kB / 1.045 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.000165/0.3858, allocations: 144 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3858, allocations: 23.88 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3861, allocations: 147.3 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3861, allocations: 4 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3861, allocations: 3.938 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3861, allocations: 3.984 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.3868, allocations: 460.2 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3868, allocations: 4 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.3869, allocations: 8 kB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3869, allocations: 0 / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3869, allocations: 7.984 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3869, allocations: 4 kB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3869, allocations: 0 / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3872, allocations: 243.2 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3872, allocations: 23.89 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3872, allocations: 4 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3874, allocations: 15.98 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.3874, allocations: 15.97 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3875, allocations: 8 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001453/0.3876, allocations: 149.5 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3876, allocations: 0 / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003281/0.3879, allocations: 51.88 kB / 1.362 GB, free: 14.88 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.00091/0.3888, allocations: 0.8389 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.3893, allocations: 242.6 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3893, allocations: 4 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.118e-05/0.3894, allocations: 47.92 kB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.3898, allocations: 56.95 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.3933, allocations: 2.268 MB / 1.365 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3937, allocations: 0.7241 MB / 1.366 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.3938, allocations: 29.88 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3939, allocations: 67.41 kB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3939, allocations: 0 / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.4309, allocations: 5.71 MB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.07, allocations: 5.719 kB / 1.372 GB, free: 4.871 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 19.318391326116398]