Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008286/0.0008286, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001279/0.001279, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.874/0.874, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9505 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.872e-05/2.004e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.574 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002177/0.002197, allocations: 1.765 MB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.002996, allocations: 0.6195 MB / 0.9528 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.00306, allocations: 3.938 kB / 0.9528 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.003216, allocations: 31.67 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.003504, allocations: 123.4 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.003755, allocations: 167.6 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.00397, allocations: 251.3 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004082, allocations: 21.8 kB / 0.9534 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.004206, allocations: 147.7 kB / 0.9535 GB, free: 444 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.007165, allocations: 1.028 MB / 0.9545 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.007198, allocations: 16 kB / 0.9545 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.007265, allocations: 43.92 kB / 0.9546 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.007319, allocations: 51.77 kB / 0.9546 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.007386, allocations: 59.81 kB / 0.9547 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.007653, allocations: 243.2 kB / 0.9549 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.007656, allocations: 3.984 kB / 0.9549 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.402e-06/0.007657, allocations: 0 / 0.9549 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.007662, allocations: 4 kB / 0.9549 GB, free: 15.25 MB / 0.9167 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.0005569/0.008219, allocations: 488.6 kB / 0.9554 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.008255, allocations: 16.03 kB / 0.9554 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.00829, allocations: 42.73 kB / 0.9554 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.00834, allocations: 24.8 kB / 0.9554 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.008567, allocations: 191.4 kB / 0.9556 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.008581, allocations: 12.38 kB / 0.9556 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.008604, allocations: 16.38 kB / 0.9557 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.008759, allocations: 108.4 kB / 0.9558 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.008766, allocations: 0 / 0.9558 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.008779, allocations: 11.98 kB / 0.9558 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.008784, allocations: 0 / 0.9558 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.008875, allocations: 67.75 kB / 0.9558 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.009455, allocations: 419.6 kB / 0.9562 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.009671, allocations: 102.7 kB / 0.9563 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.009715, allocations: 32.84 kB / 0.9564 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.009735, allocations: 0 / 0.9564 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.00986, allocations: 109.2 kB / 0.9565 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.009861, allocations: 4 kB / 0.9565 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0002702/0.01013, allocations: 181.4 kB / 0.9566 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.01017, allocations: 59.34 kB / 0.9567 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.0103, allocations: 207.8 kB / 0.9569 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.01033, allocations: 29.7 kB / 0.9569 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.0104, allocations: 124.5 kB / 0.9571 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.01042, allocations: 47.67 kB / 0.9571 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.01049, allocations: 57.67 kB / 0.9572 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.01058, allocations: 330.8 kB / 0.9575 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.01072, allocations: 123.3 kB / 0.9576 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.01088, allocations: 246.4 kB / 0.9578 GB, free: 12 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.01107, allocations: 216.6 kB / 0.958 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01107, allocations: 4 kB / 0.958 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003616/0.01143, allocations: 392 kB / 0.9584 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.01147, allocations: 63.39 kB / 0.9585 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01147, allocations: 8.156 kB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01149, allocations: 3.984 kB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.01154, allocations: 23.94 kB / 0.9585 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01155, allocations: 7.875 kB / 0.9585 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.246e-05/0.01164, allocations: 23.88 kB / 0.9585 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01166, allocations: 15.98 kB / 0.9585 GB, free: 11.18 MB / 0.9167 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 8.9e-05/0.01175, allocations: 135.8 kB / 0.9587 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.01177, allocations: 23.89 kB / 0.9587 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.01195, allocations: 158.2 kB / 0.9588 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01195, allocations: 4 kB / 0.9589 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01196, allocations: 3.938 kB / 0.9589 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01196, allocations: 0 / 0.9589 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.01232, allocations: 449.3 kB / 0.9593 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01233, allocations: 3.938 kB / 0.9593 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.01235, allocations: 4.047 kB / 0.9593 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01235, allocations: 7.984 kB / 0.9593 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01236, allocations: 4 kB / 0.9593 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.01236, allocations: 0 / 0.9593 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01236, allocations: 0 / 0.9593 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.01252, allocations: 243.3 kB / 0.9595 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.01256, allocations: 31.77 kB / 0.9596 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.01257, allocations: 0 / 0.9596 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.01263, allocations: 11.98 kB / 0.9596 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.01268, allocations: 19.97 kB / 0.9596 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.01269, allocations: 4 kB / 0.9596 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.175e-05/0.01278, allocations: 149.5 kB / 0.9597 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01278, allocations: 0 / 0.9597 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002139/0.01299, allocations: 55.88 kB / 0.9598 GB, free: 9.82 MB / 0.9167 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.0005571/0.01355, allocations: 0.8378 MB / 0.9606 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.01382, allocations: 316 kB / 0.9609 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01383, allocations: 0 / 0.9609 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.01388, allocations: 51.89 kB / 0.961 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.01414, allocations: 70.41 kB / 0.961 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.01601, allocations: 2.51 MB / 0.9635 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.309e-05/0.01608, allocations: 116.2 kB / 0.9636 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.865e-05/0.01614, allocations: 25.94 kB / 0.9636 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.01621, allocations: 60.47 kB / 0.9637 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of SimCode: time 7.82e-07/0.01621, allocations: 0 / 0.9637 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.03399, allocations: 6.492 MB / 0.97 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.993, allocations: 4 kB / 0.97 GB, free: 15.31 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.922235355712473]