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.001847/0.001847, 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.002282/0.002282, allocations: 220.3 kB / 22.26 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.8 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002073/0.002073, allocations: 66.14 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00363/0.3196, allocations: 1.815 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3209, allocations: 0.6314 MB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.321, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.3212, allocations: 31.72 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.3216, allocations: 127.4 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.322, allocations: 156.8 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.3224, allocations: 243.4 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3225, allocations: 33.31 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.3227, allocations: 119.6 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008384/0.3311, allocations: 1.046 MB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.3312, allocations: 16 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.3313, allocations: 40 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.3314, allocations: 51.75 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.3315, allocations: 95.52 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.332, allocations: 219.8 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.332, allocations: 3.938 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.332, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.332, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 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.0009217/0.3329, allocations: 0.4888 MB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.333, allocations: 8.031 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.333, allocations: 46.73 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.3331, allocations: 28.8 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.3335, allocations: 194.2 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.3335, allocations: 12.38 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.3335, allocations: 15.94 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.3338, allocations: 108.1 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3338, allocations: 0 / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3338, allocations: 11.98 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.3338, allocations: 0 / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3339, allocations: 59.91 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.3349, allocations: 447.5 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.3352, allocations: 106.6 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.3353, allocations: 44.89 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3353, allocations: 7.984 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.3355, allocations: 95.36 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.3355, allocations: 0 / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003928/0.3359, allocations: 183.6 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3359, allocations: 55.41 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.3361, allocations: 211.8 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.3362, allocations: 33.7 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3363, allocations: 128.4 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.3364, allocations: 43.69 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3365, allocations: 57.67 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3366, allocations: 330.8 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3368, allocations: 63.95 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3371, allocations: 135.6 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.3374, allocations: 212.2 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3374, allocations: 4 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006632/0.3381, allocations: 328.6 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.3382, allocations: 67.33 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3382, allocations: 0 / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3382, allocations: 4 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.3383, allocations: 23.98 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3383, allocations: 3.984 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3385, allocations: 31.97 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3385, allocations: 19.98 kB / 1.291 GB, free: 3.504 MB / 0.9825 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.0001515/0.3387, allocations: 135.8 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.3387, allocations: 23.8 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.339, allocations: 151.3 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.339, allocations: 4 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.339, allocations: 0 / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.339, allocations: 3.938 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.3397, allocations: 465.2 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3397, allocations: 0 / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.3397, allocations: 11.98 kB / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3397, allocations: 0 / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.3397, allocations: 0 / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3397, allocations: 4 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3397, allocations: 0 / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.34, allocations: 253.6 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.3401, allocations: 27.92 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3401, allocations: 3.984 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3402, allocations: 8 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.3403, allocations: 15.97 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.3403, allocations: 11.98 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001455/0.3404, allocations: 141.5 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3404, allocations: 0 / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003277/0.3408, allocations: 51.94 kB / 1.293 GB, free: 2.137 MB / 0.9825 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.0008675/0.3416, allocations: 0.828 MB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.3421, allocations: 255.4 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3421, allocations: 0 / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.3422, allocations: 44.23 kB / 1.294 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3426, allocations: 73.33 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.3462, allocations: 2.252 MB / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3466, allocations: 0.7281 MB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.3467, allocations: 29.92 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3468, allocations: 59.41 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3468, allocations: 0 / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.3863, allocations: 5.725 MB / 1.302 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.05, allocations: 3.203 kB / 1.302 GB, free: 8.16 MB / 0.9981 GB " [Timeout remaining time 287] (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/jenkins1/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: 18.870815871981904]