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.001946/0.001946, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001835/0.001835, allocations: 215 kB / 22.25 MB, free: 5.262 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.777 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.41/3.41, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002051/0.002051, allocations: 73.72 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3636, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003496/0.3671, allocations: 1.763 MB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3687, allocations: 0.6236 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.3688, allocations: 0 / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.369, allocations: 27.73 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004968/0.3695, allocations: 131.4 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.37, allocations: 149 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.3703, allocations: 251.4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3705, allocations: 33.94 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.3707, allocations: 115.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008357/0.379, allocations: 1.046 MB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.187e-05/0.3791, allocations: 16 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3793, allocations: 35.98 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.3793, allocations: 51.77 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3795, allocations: 79.62 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.3799, allocations: 227.1 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3799, allocations: 3.938 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3799, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3799, allocations: 0 / 1.329 GB, free: 14.1 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.0008107/0.3807, allocations: 0.4888 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3808, allocations: 12.03 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.3808, allocations: 38.75 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.3809, allocations: 32.78 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.3812, allocations: 194.7 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3813, allocations: 12.38 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.3813, allocations: 23.92 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3815, allocations: 104.3 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3815, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3815, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3815, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3817, allocations: 67.77 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.3826, allocations: 419.6 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3829, allocations: 106.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.556e-05/0.383, allocations: 32.84 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.383, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3832, allocations: 107.3 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.3832, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003968/0.3836, allocations: 179.8 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.3836, allocations: 55.41 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.3838, allocations: 203.8 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.3839, allocations: 33.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.384, allocations: 136.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.384, allocations: 35.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3841, allocations: 69.59 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3843, allocations: 330.8 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3845, allocations: 123.3 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.3848, allocations: 246.4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.3851, allocations: 211.6 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3851, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006931/0.3858, allocations: 396 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.3859, allocations: 74.14 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3859, allocations: 0 / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.3859, allocations: 8.156 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.386, allocations: 15.98 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.386, allocations: 7.938 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3862, allocations: 27.88 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3863, allocations: 8 kB / 1.333 GB, free: 10.03 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.0001684/0.3864, allocations: 144.4 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.3865, allocations: 23.8 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.3867, allocations: 151.3 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3867, allocations: 4 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3868, allocations: 0 / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3868, allocations: 7.984 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.3874, allocations: 445.3 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3874, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.3875, allocations: 4 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3875, allocations: 0 / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3875, allocations: 7.984 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3875, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3875, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.3878, allocations: 245.8 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.3879, allocations: 27.83 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3879, allocations: 8 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.388, allocations: 15.98 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.3881, allocations: 19.97 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.3881, allocations: 4 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001459/0.3882, allocations: 149.5 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3882, allocations: 0 / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003528/0.3886, allocations: 47.89 kB / 1.334 GB, free: 8.668 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.0009517/0.3895, allocations: 0.8412 MB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.3901, allocations: 317.8 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3901, allocations: 0 / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.3901, allocations: 43.92 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.3906, allocations: 61.84 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.3939, allocations: 2.503 MB / 1.338 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.394, allocations: 120.2 kB / 1.338 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.3942, allocations: 29.88 kB / 1.338 GB, free: 4.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.3943, allocations: 55.42 kB / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.3943, allocations: 0 / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4301, allocations: 6.387 MB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 4.062 kB / 1.344 GB, free: 14.29 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: 19.1868205643259]