Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001772/0.001772, allocations: 107.7 kB / 16.46 MB, free: 6.512 MB / 14.72 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.002119/0.002119, allocations: 208.3 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.658/1.658, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.926/2.926, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 75.89 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8054, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002971/0.8083, allocations: 1.532 MB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.81, allocations: 0.8117 MB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.81, allocations: 0 / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.8101, allocations: 7.875 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.8101, allocations: 11.94 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.8109, allocations: 135.5 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.811, allocations: 79.77 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.8111, allocations: 11.97 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.8113, allocations: 39.86 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.8113, allocations: 39.88 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.8114, allocations: 8 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.8116, allocations: 115.8 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.8116, allocations: 19.91 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.8117, allocations: 31.86 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.812, allocations: 145.5 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.812, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.812, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.812, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 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.0007249/0.8127, allocations: 432.6 kB / 1.282 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.8128, allocations: 12.03 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.8128, allocations: 38.67 kB / 1.282 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/0.8132, allocations: 28.92 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.8134, allocations: 192.2 kB / 1.282 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.8134, allocations: 4.375 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.8135, allocations: 4.375 kB / 1.282 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.8137, allocations: 73.59 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8137, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.8137, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.8137, allocations: 0 / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.8138, allocations: 39.97 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.8145, allocations: 320.7 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.8146, allocations: 46.55 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.8147, allocations: 32.91 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.8147, allocations: 0 / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.8149, allocations: 87.38 kB / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.8149, allocations: 0 / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004457/0.8154, allocations: 133.6 kB / 1.283 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.8154, allocations: 55.41 kB / 1.283 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.8155, allocations: 131.4 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.8156, allocations: 25.7 kB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.8156, allocations: 96.09 kB / 1.283 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.8157, allocations: 19.89 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.8157, allocations: 21.72 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8159, allocations: 322.8 kB / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.816, allocations: 27.98 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.8161, allocations: 58.42 kB / 1.283 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.8163, allocations: 70.86 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.8163, allocations: 7.984 kB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002735/0.8166, allocations: 117.6 kB / 1.283 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8166, allocations: 8 kB / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8166, allocations: 0 / 1.283 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.8166, allocations: 3.984 kB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.8167, allocations: 15.92 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.8167, allocations: 4 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.263e-05/0.8168, allocations: 11.92 kB / 1.283 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.8168, allocations: 3.938 kB / 1.283 GB, free: 7.766 MB / 0.9825 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 0.0001182/0.8169, allocations: 121.9 kB / 1.284 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.8169, allocations: 3.953 kB / 1.284 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.817, allocations: 12.38 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.817, allocations: 3.984 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.817, allocations: 0 / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.817, allocations: 0 / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.8175, allocations: 386.4 kB / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8175, allocations: 4 kB / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.8176, allocations: 0 / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.8176, allocations: 11.94 kB / 1.284 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.8176, allocations: 0 / 1.284 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.8176, allocations: 7.922 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8176, allocations: 0 / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.8179, allocations: 207.5 kB / 1.284 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.818, allocations: 81.06 kB / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.818, allocations: 0 / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.8181, allocations: 15.92 kB / 1.284 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.8181, allocations: 4 kB / 1.284 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.8181, allocations: 7.922 kB / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.99e-05/0.8182, allocations: 102.1 kB / 1.284 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8182, allocations: 0 / 1.284 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000324/0.8185, allocations: 35.94 kB / 1.284 GB, free: 6.676 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,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.0009873/0.8195, allocations: 0.8019 MB / 1.285 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.8198, allocations: 68.25 kB / 1.285 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.8198, allocations: 4.125 kB / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.8199, allocations: 39.91 kB / 1.285 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.8202, allocations: 11.94 kB / 1.285 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.822, allocations: 1.503 MB / 1.287 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.8224, allocations: 0.6884 MB / 1.287 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.492e-05/0.8224, allocations: 7.984 kB / 1.288 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.8225, allocations: 23.38 kB / 1.288 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.8225, allocations: 0 / 1.288 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.85, allocations: 2.697 MB / 1.29 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/9.133, allocations: 13.25 kB / 1.29 GB, free: 0.8477 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_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_Herkel2008WindowsSmall.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_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: 15.6572077779565]