Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001429/0.001429, allocations: 109 kB / 17.54 MB, free: 4.746 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.001416/0.001416, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.09 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.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.89 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.8153, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002188/0.8175, allocations: 1.524 MB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.8185, allocations: 0.7434 MB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.8186, allocations: 4.719 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.8186, allocations: 5.438 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.8186, allocations: 9.953 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.8191, allocations: 125.4 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.8192, allocations: 73.31 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.8193, allocations: 18.83 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.8193, allocations: 33.66 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.8194, allocations: 42.33 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.8194, allocations: 5.812 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.8196, allocations: 104.9 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.8196, allocations: 19.56 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.8196, allocations: 34.42 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.8198, allocations: 140.7 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.8198, allocations: 0 / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8199, allocations: 0.6875 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.8199, allocations: 0 / 1.274 GB, free: 5.887 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004781/0.8203, allocations: 428.5 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.8204, allocations: 9.906 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.8204, allocations: 33.88 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.8204, allocations: 12.17 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.47e-05/0.8205, allocations: 170.1 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.8205, allocations: 3.219 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.8205, allocations: 4.25 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.8207, allocations: 72 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8207, allocations: 6.531 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8207, allocations: 5 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.8207, allocations: 0.8438 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.8208, allocations: 34 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.8213, allocations: 315.6 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.8214, allocations: 47.7 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.8215, allocations: 25.8 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.8215, allocations: 13.62 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.8216, allocations: 80.61 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.8216, allocations: 5.016 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003486/0.822, allocations: 136.1 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.822, allocations: 54.62 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.8221, allocations: 125 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.8221, allocations: 27.02 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.8221, allocations: 90.48 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.8221, allocations: 20.41 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.8222, allocations: 30.38 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.015e-05/0.8222, allocations: 327.1 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.8223, allocations: 22.44 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.437e-05/0.8224, allocations: 50.09 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.8225, allocations: 73.45 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8225, allocations: 4 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/0.8227, allocations: 112 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.8227, allocations: 6.688 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.8227, allocations: 0.875 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.8228, allocations: 1.688 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.8228, allocations: 10.53 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.8229, allocations: 5.672 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.8229, allocations: 14.64 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.8229, allocations: 7.312 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 5.611e-05/0.823, allocations: 118.6 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.823, allocations: 8.141 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.823, allocations: 15.45 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.823, allocations: 4.812 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.823, allocations: 4.781 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.823, allocations: 0 / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.8234, allocations: 387.3 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8234, allocations: 0.8438 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.8234, allocations: 4.094 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8234, allocations: 0.5938 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8234, allocations: 3.281 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.8234, allocations: 4.5 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8234, allocations: 4.5 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.8236, allocations: 207.6 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.8237, allocations: 81.53 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.8237, allocations: 4.844 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.8238, allocations: 7.406 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.8238, allocations: 4.906 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.8238, allocations: 3.391 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.8238, allocations: 92.36 kB / 1.277 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8238, allocations: 0 / 1.277 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000275/0.8241, allocations: 42.2 kB / 1.277 GB, free: 3.004 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,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.0005832/0.8247, allocations: 0.8091 MB / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.8249, allocations: 75.62 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8249, allocations: 3.938 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.825, allocations: 32.59 kB / 1.278 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.8252, allocations: 7 kB / 1.278 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.8265, allocations: 1.508 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.8268, allocations: 0.6907 MB / 1.28 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.8268, allocations: 9.844 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.8269, allocations: 29.52 kB / 1.28 GB, free: 16.19 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.8269, allocations: 0 / 1.28 GB, free: 16.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.8524, allocations: 2.646 MB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.907, allocations: 14.97 kB / 1.283 GB, free: 15.68 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_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_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 13.306548705004388]