Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001101/0.001101, 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.0008891/0.0008891, 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.8879/0.8879, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.77/1.77, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_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.9996 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.56e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002045/0.00206, allocations: 1.768 MB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.002857, allocations: 0.6195 MB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.002918, allocations: 3.938 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.00307, allocations: 27.72 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.003346, allocations: 123.4 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.003588, allocations: 163.5 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.003792, allocations: 247.3 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003898, allocations: 17.8 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.004025, allocations: 151.7 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.006991, allocations: 1.037 MB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.007024, allocations: 16 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.007092, allocations: 39.92 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.007151, allocations: 43.83 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.007218, allocations: 63.81 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.00749, allocations: 247.2 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.007492, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.92e-07/0.007493, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.007497, allocations: 4 kB / 1.004 GB, free: 9.266 MB / 0.9636 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.0005536/0.00805, allocations: 0.4889 MB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.008086, allocations: 8.75 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.008126, allocations: 42.73 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.008173, allocations: 20.84 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.008389, allocations: 199.1 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.008401, allocations: 8.375 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.008422, allocations: 16.38 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.008573, allocations: 119.6 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.00858, allocations: 0 / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.008591, allocations: 7.984 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.008596, allocations: 7.938 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.008695, allocations: 59.91 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.009252, allocations: 415.6 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.009455, allocations: 102.7 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.009495, allocations: 28.84 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.009515, allocations: 4 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.009634, allocations: 111.2 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.009635, allocations: 3.938 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0002567/0.009892, allocations: 171.6 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.009947, allocations: 63.33 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.01009, allocations: 203.8 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.01012, allocations: 33.7 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.01019, allocations: 136.5 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.01021, allocations: 31.73 kB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.01028, allocations: 69.62 kB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.01036, allocations: 326.8 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01049, allocations: 127.3 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.01065, allocations: 244.6 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.01083, allocations: 209.3 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01083, allocations: 8.031 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004098/0.01124, allocations: 396 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.01128, allocations: 67.39 kB / 1.008 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01129, allocations: 3.984 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.0113, allocations: 4 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.01135, allocations: 19.94 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01136, allocations: 7.938 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.01145, allocations: 20.03 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01147, allocations: 23.98 kB / 1.008 GB, free: 5.184 MB / 0.9636 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.077e-05/0.01156, allocations: 139.8 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.01159, allocations: 23.89 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.01181, allocations: 147.3 kB / 1.008 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01181, allocations: 4 kB / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01182, allocations: 3.938 kB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01182, allocations: 3.938 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.01221, allocations: 443.6 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.01221, allocations: 11.94 kB / 1.008 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.772e-05/0.01224, allocations: 4 kB / 1.008 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01224, allocations: 0 / 1.008 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01225, allocations: 8 kB / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01225, allocations: 0 / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01225, allocations: 0 / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.01241, allocations: 239.3 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.01244, allocations: 31.77 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.01246, allocations: 4 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.01251, allocations: 11.98 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.01256, allocations: 15.97 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.01258, allocations: 12 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.01267, allocations: 145.5 kB / 1.009 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01267, allocations: 3.938 kB / 1.009 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002089/0.01287, allocations: 51.92 kB / 1.009 GB, free: 3.828 MB / 0.9636 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.0004839/0.01336, allocations: 0.8448 MB / 1.01 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.01364, allocations: 306 kB / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01364, allocations: 0 / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.0137, allocations: 47.92 kB / 1.01 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.01397, allocations: 63.33 kB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.01596, allocations: 2.507 MB / 1.013 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.026e-05/0.01604, allocations: 116.2 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.935e-05/0.01611, allocations: 33.92 kB / 1.013 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/0.01619, allocations: 60.47 kB / 1.013 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of SimCode: time 5.71e-07/0.01619, allocations: 0 / 1.013 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.03369, allocations: 6.485 MB / 1.019 GB, free: 9.328 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.212, allocations: 7.938 kB / 1.019 GB, free: 9.32 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable timSer.y[1] in file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[1] from file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! Error: Could not read variable timSer.y[2] in file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv. Warning: Get data of variable timSer.y[2] from file Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.381726517342031]