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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001774/0.001774, allocations: 67.88 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.8204, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002717/0.8231, allocations: 1.807 MB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.8241, allocations: 0.6294 MB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.8242, allocations: 5.719 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.8243, allocations: 27.38 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.8247, allocations: 119.5 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.825, allocations: 160.1 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.8252, allocations: 239.8 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.8253, allocations: 29.59 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.8254, allocations: 114 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007281/0.8327, allocations: 1.065 MB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.8328, allocations: 17.62 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.8329, allocations: 38.64 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.8329, allocations: 44.3 kB / 1.276 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.8331, allocations: 94.27 kB / 1.276 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.8334, allocations: 224.9 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.8334, allocations: 5.031 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8334, allocations: 0 / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.8334, allocations: 0 / 1.276 GB, free: 5.25 MB / 0.9981 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.0006241/0.834, allocations: 0.5485 MB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.8341, allocations: 9.781 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.8341, allocations: 45.52 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.8342, allocations: 25.44 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.8344, allocations: 251.8 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.8344, allocations: 11.22 kB / 1.277 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.8345, allocations: 20.02 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.8347, allocations: 107.7 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8347, allocations: 0 / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.8347, allocations: 7.422 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8347, allocations: 2.344 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.8348, allocations: 61.17 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.8355, allocations: 488.1 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.8358, allocations: 95.89 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.8358, allocations: 30.86 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.8358, allocations: 17.33 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.836, allocations: 110.7 kB / 1.278 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.836, allocations: 0.625 kB / 1.278 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003265/0.8363, allocations: 177.8 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.8363, allocations: 56.11 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.8365, allocations: 202.9 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.8365, allocations: 34.69 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.8366, allocations: 131.8 kB / 1.278 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.8366, allocations: 41.16 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.8367, allocations: 66.53 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.8368, allocations: 329.8 kB / 1.279 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.8369, allocations: 67.19 kB / 1.279 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.8371, allocations: 132.4 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.8374, allocations: 209.6 kB / 1.279 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8374, allocations: 5 kB / 1.279 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005369/0.8379, allocations: 332.9 kB / 1.279 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.8379, allocations: 66.55 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8379, allocations: 1.906 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.838, allocations: 2.688 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.838, allocations: 20.02 kB / 1.279 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.838, allocations: 2.875 kB / 1.279 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.8382, allocations: 25.66 kB / 1.279 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.8383, allocations: 16.62 kB / 1.279 GB, free: 2.504 MB / 0.9981 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 9.685e-05/0.8384, allocations: 142.2 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.8384, allocations: 20.09 kB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.8386, allocations: 153.2 kB / 1.28 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.8386, allocations: 4.594 kB / 1.28 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8386, allocations: 4 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8386, allocations: 0.8438 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.8391, allocations: 488.4 kB / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8391, allocations: 0 / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.8392, allocations: 7.156 kB / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8392, allocations: 1.734 kB / 1.28 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.8392, allocations: 9.672 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8392, allocations: 1.531 kB / 1.28 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8392, allocations: 3.938 kB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.8394, allocations: 247 kB / 1.28 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.8395, allocations: 105.6 kB / 1.281 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.8395, allocations: 6.109 kB / 1.281 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.8396, allocations: 7.516 kB / 1.281 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.8397, allocations: 17.19 kB / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.8397, allocations: 7.797 kB / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001152/0.8398, allocations: 151 kB / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8398, allocations: 0 / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003066/0.8401, allocations: 45.72 kB / 1.281 GB, free: 1.488 MB / 0.9981 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.0005976/0.8407, allocations: 0.8609 MB / 1.282 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.8411, allocations: 241.9 kB / 1.282 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8411, allocations: 4 kB / 1.282 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.8411, allocations: 42.23 kB / 1.282 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.8415, allocations: 66.03 kB / 1.282 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.8441, allocations: 2.263 MB / 1.284 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.8445, allocations: 0.7291 MB / 1.285 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.419e-05/0.8445, allocations: 33.16 kB / 1.285 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.8446, allocations: 61.94 kB / 1.285 GB, free: 14.13 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.8446, allocations: 0 / 1.285 GB, free: 14.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.873, allocations: 5.522 MB / 1.29 GB, free: 13.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/8.078, allocations: 6.812 kB / 1.29 GB, free: 13.37 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.443905850001101]