Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008042/0.008042, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 191.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001786, allocations: 63.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9146/0.9164, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002987/0.9195, allocations: 1.773 MB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.9206, allocations: 0.6183 MB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.9207, allocations: 5 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.9209, allocations: 22.77 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.9212, allocations: 126.7 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.9216, allocations: 160.6 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.9219, allocations: 246.4 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.9221, allocations: 39.94 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.9222, allocations: 109.3 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005872/0.9281, allocations: 1.041 MB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.9282, allocations: 17.53 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.9283, allocations: 37.84 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.9284, allocations: 43.38 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.9285, allocations: 94.45 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.9289, allocations: 231.5 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9289, allocations: 0.5625 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9289, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.9289, allocations: 0.6562 kB / 1.092 GB, free: 2.797 MB / 0.8575 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.000734/0.9297, allocations: 0.5444 MB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9297, allocations: 13.81 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.9298, allocations: 45.2 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.9298, allocations: 25.11 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.9302, allocations: 258.4 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.9302, allocations: 8.5 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.9302, allocations: 19.8 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.9305, allocations: 104.3 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.9305, allocations: 0 / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.9305, allocations: 10.5 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9305, allocations: 2 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.9306, allocations: 62.81 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008752/0.9315, allocations: 493.9 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.9318, allocations: 106.1 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.9319, allocations: 46.81 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.9319, allocations: 2.453 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.9321, allocations: 102.5 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.9321, allocations: 0 / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003571/0.9324, allocations: 175.4 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.9325, allocations: 56.58 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.9327, allocations: 207.3 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.9327, allocations: 37.77 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.9328, allocations: 128.2 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.9329, allocations: 41.2 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.933, allocations: 58.5 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.933, allocations: 329.5 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.9332, allocations: 62.64 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.9335, allocations: 136.7 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.9337, allocations: 215.8 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9338, allocations: 0 / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000621/0.9344, allocations: 325.2 kB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.9344, allocations: 73.67 kB / 1.095 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9345, allocations: 1.594 kB / 1.095 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.9345, allocations: 3.219 kB / 1.095 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.9346, allocations: 24.66 kB / 1.095 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9346, allocations: 8.047 kB / 1.095 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.9348, allocations: 24.53 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.9348, allocations: 15.8 kB / 1.095 GB, free: 48 kB / 0.8575 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.0001633/0.935, allocations: 142.6 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.935, allocations: 28.92 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.9353, allocations: 147.1 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9354, allocations: 2.516 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9354, allocations: 1.344 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.9354, allocations: 0.7969 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.936, allocations: 493.2 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9361, allocations: 0 / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.9361, allocations: 7.234 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9361, allocations: 0.5938 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.9361, allocations: 3.109 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9361, allocations: 0.8125 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9361, allocations: 0 / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.9364, allocations: 247.4 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.9366, allocations: 97.88 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.9366, allocations: 6.016 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.9367, allocations: 8.188 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.9368, allocations: 20.3 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.9368, allocations: 8.859 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001558/0.937, allocations: 144.9 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.937, allocations: 0.9688 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003459/0.9373, allocations: 56.92 kB / 1.097 GB, free: 15.04 MB / 0.8731 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.000779/0.9381, allocations: 0.8502 MB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.9386, allocations: 249.7 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.9386, allocations: 0 / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.9387, allocations: 49.89 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.9392, allocations: 68.95 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.9424, allocations: 2.26 MB / 1.1 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.9428, allocations: 0.7305 MB / 1.101 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.9429, allocations: 27.39 kB / 1.101 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.9431, allocations: 59.27 kB / 1.101 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of SimCode: time 3.7e-07/0.9431, allocations: 0 / 1.101 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.9712, allocations: 5.476 MB / 1.106 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.518, allocations: 17.06 kB / 1.106 GB, free: 10.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches