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.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.001132/0.001132, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001467/0.001467, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.9352/0.9352, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.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 1.573e-06/1.573e-06, allocations: 0 / 0.9505 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.549e-05, allocations: 9.094 kB / 0.9505 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001956/0.001971, allocations: 1.506 MB / 0.952 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000948/0.002919, allocations: 0.7679 MB / 0.9527 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.002967, allocations: 0 / 0.9527 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.002993, allocations: 7.875 kB / 0.9527 GB, free: 96 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.00304, allocations: 19.78 kB / 0.9527 GB, free: 76 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.003529, allocations: 139.6 kB / 0.9529 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.557e-05/0.003624, allocations: 83.7 kB / 0.9529 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.003702, allocations: 4.188 kB / 0.953 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.00382, allocations: 59.88 kB / 0.953 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.00387, allocations: 31.89 kB / 0.953 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.003888, allocations: 8 kB / 0.953 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.004067, allocations: 135.7 kB / 0.9532 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.004088, allocations: 23.86 kB / 0.9532 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.004121, allocations: 23.97 kB / 0.9532 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.004331, allocations: 167.6 kB / 0.9534 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004333, allocations: 0 / 0.9534 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004334, allocations: 0 / 0.9534 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.004338, allocations: 0 / 0.9534 GB, free: 15.41 MB / 0.8698 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.0004568/0.004795, allocations: 355.5 kB / 0.9537 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004828, allocations: 8.031 kB / 0.9537 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.004857, allocations: 38.69 kB / 0.9538 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.005027, allocations: 36.86 kB / 0.9538 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.005177, allocations: 125.7 kB / 0.9539 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.005196, allocations: 8.359 kB / 0.9539 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.005208, allocations: 4.375 kB / 0.9539 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.005329, allocations: 70.22 kB / 0.954 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005336, allocations: 4.188 kB / 0.954 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.005345, allocations: 3.938 kB / 0.954 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.005349, allocations: 0 / 0.954 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.005422, allocations: 35.97 kB / 0.954 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.005783, allocations: 275.8 kB / 0.9543 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.005861, allocations: 54.48 kB / 0.9544 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.005909, allocations: 32.97 kB / 0.9544 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.005926, allocations: 0 / 0.9544 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.006027, allocations: 83.27 kB / 0.9545 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.006028, allocations: 0 / 0.9545 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002549/0.006283, allocations: 133.9 kB / 0.9546 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.006315, allocations: 59.47 kB / 0.9547 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.006387, allocations: 131.8 kB / 0.9548 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.006398, allocations: 25.7 kB / 0.9548 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.006436, allocations: 88.14 kB / 0.9549 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.006452, allocations: 23.89 kB / 0.9549 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.006486, allocations: 25.72 kB / 0.9549 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.006557, allocations: 322.8 kB / 0.9552 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.006602, allocations: 27.92 kB / 0.9553 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.006657, allocations: 50.55 kB / 0.9553 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.088e-05/0.006748, allocations: 78.55 kB / 0.9554 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00675, allocations: 0 / 0.9554 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001346/0.006884, allocations: 113.6 kB / 0.9555 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.006896, allocations: 4 kB / 0.9555 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.0069, allocations: 0 / 0.9555 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.006912, allocations: 3.984 kB / 0.9555 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.006966, allocations: 15.94 kB / 0.9555 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.00697, allocations: 3.938 kB / 0.9555 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.007003, allocations: 19.88 kB / 0.9555 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.007013, allocations: 4 kB / 0.9555 GB, free: 12.96 MB / 0.8698 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 6.259e-05/0.007075, allocations: 121.8 kB / 0.9557 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.007083, allocations: 4 kB / 0.9557 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.007104, allocations: 12.42 kB / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.007108, allocations: 4 kB / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.007111, allocations: 0 / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007114, allocations: 0 / 0.9557 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.007392, allocations: 349.5 kB / 0.956 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007393, allocations: 0 / 0.956 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.007412, allocations: 11.98 kB / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.007413, allocations: 0 / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.007421, allocations: 4 kB / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007422, allocations: 0 / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007423, allocations: 3.984 kB / 0.956 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.007574, allocations: 219.3 kB / 0.9562 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.007582, allocations: 11.94 kB / 0.9563 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.007593, allocations: 3.938 kB / 0.9563 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.007634, allocations: 4 kB / 0.9563 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.007665, allocations: 7.984 kB / 0.9563 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.007673, allocations: 15.94 kB / 0.9563 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.007708, allocations: 93.02 kB / 0.9564 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.007708, allocations: 0 / 0.9564 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001937/0.007901, allocations: 39.92 kB / 0.9564 GB, free: 12 MB / 0.8698 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.0004948/0.008396, allocations: 0.8122 MB / 0.9572 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.00854, allocations: 67.95 kB / 0.9573 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008541, allocations: 0 / 0.9573 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.008597, allocations: 35.92 kB / 0.9573 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.008774, allocations: 16.14 kB / 0.9573 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.009849, allocations: 1.497 MB / 0.9588 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.009896, allocations: 76.64 kB / 0.9589 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.009923, allocations: 3.984 kB / 0.9589 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.00996, allocations: 20.5 kB / 0.9589 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/0.00996, allocations: 0 / 0.9589 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.02662, allocations: 3.407 MB / 0.9622 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.915, allocations: 10.56 kB / 0.9622 GB, free: 6.102 MB / 0.8698 GB " [Timeout remaining time 293] (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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.08662271220237]