Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001286/0.001286, allocations: 113.4 kB / 17.96 MB, free: 3.91 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.001327/0.001327, allocations: 188.4 kB / 21.21 MB, free: 0.6719 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.428/1.428, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] 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.779/2.779, allocations: 476.7 MB / 0.7635 GB, free: 10.87 MB / 0.6231 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.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.108 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8664, allocations: 168.7 MB / 1.272 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002806/0.8692, allocations: 1.511 MB / 1.274 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.8706, allocations: 0.7455 MB / 1.275 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.8706, allocations: 3.938 kB / 1.275 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.8706, allocations: 3.938 kB / 1.275 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.8707, allocations: 19.84 kB / 1.275 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.8712, allocations: 123.6 kB / 1.275 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.8713, allocations: 71.78 kB / 1.275 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.8714, allocations: 19.73 kB / 1.275 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.8715, allocations: 31.91 kB / 1.275 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.8716, allocations: 39.83 kB / 1.275 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.8716, allocations: 8 kB / 1.275 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.8718, allocations: 107.8 kB / 1.275 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.8719, allocations: 15.97 kB / 1.275 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.8719, allocations: 35.8 kB / 1.275 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.8721, allocations: 137.5 kB / 1.275 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8722, allocations: 4 kB / 1.275 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8722, allocations: 0 / 1.275 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8722, allocations: 0 / 1.275 GB, free: 1.512 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006512/0.8728, allocations: 420.7 kB / 1.276 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.8728, allocations: 12.03 kB / 1.276 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.8729, allocations: 34.75 kB / 1.276 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.8729, allocations: 8.891 kB / 1.276 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8731, allocations: 180.2 kB / 1.276 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.8731, allocations: 4.375 kB / 1.276 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.8731, allocations: 8.375 kB / 1.276 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.8733, allocations: 69.78 kB / 1.276 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8733, allocations: 3.938 kB / 1.276 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.8733, allocations: 0 / 1.276 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8733, allocations: 3.984 kB / 1.276 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.8735, allocations: 39.97 kB / 1.276 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.8741, allocations: 316.7 kB / 1.276 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.8742, allocations: 42.56 kB / 1.276 GB, free: 232 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/0.8743, allocations: 28.97 kB / 1.276 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.8743, allocations: 3.938 kB / 1.276 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.8745, allocations: 83.31 kB / 1.276 GB, free: 100 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.8745, allocations: 0 / 1.276 GB, free: 100 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004357/0.8749, allocations: 141.6 kB / 1.277 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.875, allocations: 55.41 kB / 1.277 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.8751, allocations: 129.7 kB / 1.277 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.8751, allocations: 29.7 kB / 1.277 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.8752, allocations: 96.06 kB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.8752, allocations: 15.91 kB / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.8753, allocations: 25.7 kB / 1.277 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8754, allocations: 326.8 kB / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.8755, allocations: 27.98 kB / 1.277 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.8756, allocations: 47.42 kB / 1.277 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.8758, allocations: 83.34 kB / 1.277 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8758, allocations: 0 / 1.277 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002603/0.876, allocations: 113.6 kB / 1.277 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8761, allocations: 7.984 kB / 1.277 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8761, allocations: 8 kB / 1.277 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.8761, allocations: 4.062 kB / 1.277 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.8762, allocations: 11.94 kB / 1.277 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8762, allocations: 4 kB / 1.277 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.8762, allocations: 15.92 kB / 1.277 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.8763, allocations: 0 / 1.277 GB, free: 14.89 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.000118/0.8764, allocations: 123.3 kB / 1.278 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.8764, allocations: 7.953 kB / 1.278 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.8764, allocations: 12.36 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8764, allocations: 4 kB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.8764, allocations: 3.938 kB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.8764, allocations: 0 / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.877, allocations: 382.7 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.877, allocations: 4 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.877, allocations: 0 / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.877, allocations: 4 kB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.877, allocations: 7.984 kB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.877, allocations: 7.938 kB / 1.278 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.877, allocations: 80 / 1.278 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.8773, allocations: 207.4 kB / 1.278 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.8774, allocations: 81.06 kB / 1.278 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.8774, allocations: 3.984 kB / 1.278 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.8775, allocations: 11.94 kB / 1.278 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.8775, allocations: 4 kB / 1.278 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.8775, allocations: 7.984 kB / 1.278 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.8776, allocations: 95.27 kB / 1.278 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8776, allocations: 0 / 1.278 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002939/0.8779, allocations: 39.88 kB / 1.278 GB, free: 13.8 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009217/0.8788, allocations: 0.81 MB / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.8791, allocations: 71.95 kB / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8791, allocations: 0 / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.8792, allocations: 31.92 kB / 1.279 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.8794, allocations: 16 kB / 1.279 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.8812, allocations: 1.519 MB / 1.281 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.8816, allocations: 0.6846 MB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.8816, allocations: 7.984 kB / 1.282 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.8817, allocations: 19.44 kB / 1.282 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.8817, allocations: 0 / 1.282 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.9094, allocations: 2.65 MB / 1.284 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/9.003, allocations: 5.547 kB / 1.284 GB, free: 7.945 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:time,win.TIn,win.p,TIn.amplitude,TIn.f,TIn.offset [Calling sys.exit(0), Time elapsed: 15.118479025084525]