Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001763/0.001763, allocations: 107.2 kB / 16.46 MB, free: 6.453 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.00206/0.00206, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.826/2.826, allocations: 476.7 MB / 0.7672 GB, free: 5.211 MB / 0.6231 GB " [Timeout remaining time 177] 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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.002213/0.002213, allocations: 66.09 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8275/0.8297, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002828/0.8326, allocations: 1.541 MB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.834, allocations: 0.8039 MB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.8341, allocations: 0 / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.8341, allocations: 3.938 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.8342, allocations: 15.86 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.8348, allocations: 139.5 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.8349, allocations: 75.81 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.835, allocations: 11.98 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.8351, allocations: 43.78 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.8352, allocations: 39.89 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.8352, allocations: 8 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.8354, allocations: 111.9 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.8355, allocations: 23.86 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.8355, allocations: 31.84 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.8358, allocations: 149.5 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8358, allocations: 0 / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8358, allocations: 0 / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8358, allocations: 0 / 1.281 GB, free: 10.39 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.0007038/0.8365, allocations: 432.6 kB / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.8365, allocations: 12.03 kB / 1.282 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.8366, allocations: 30.75 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.8369, allocations: 32.91 kB / 1.282 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.8372, allocations: 189 kB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.8372, allocations: 8.312 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.8372, allocations: 8.359 kB / 1.282 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8374, allocations: 69.59 kB / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8374, allocations: 0 / 1.282 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8375, allocations: 4 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.8375, allocations: 3.938 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.8376, allocations: 35.97 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.8382, allocations: 316.7 kB / 1.282 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.8384, allocations: 46.5 kB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.8384, allocations: 28.97 kB / 1.282 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.8385, allocations: 4 kB / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.8387, allocations: 83.38 kB / 1.282 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.8387, allocations: 0 / 1.282 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/0.8391, allocations: 141.6 kB / 1.283 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.8391, allocations: 55.41 kB / 1.283 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.8393, allocations: 129.6 kB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.8393, allocations: 29.7 kB / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.8394, allocations: 100.1 kB / 1.283 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.8394, allocations: 11.91 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.8395, allocations: 29.7 kB / 1.283 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8396, allocations: 322.8 kB / 1.283 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.8397, allocations: 23.98 kB / 1.283 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.8398, allocations: 50.56 kB / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.84, allocations: 74.48 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.84, allocations: 0 / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002581/0.8403, allocations: 113.5 kB / 1.283 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8403, allocations: 8 kB / 1.283 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8403, allocations: 4.062 kB / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.8403, allocations: 0 / 1.283 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.8404, allocations: 11.98 kB / 1.283 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8404, allocations: 4.391 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.81e-05/0.8405, allocations: 11.94 kB / 1.283 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.8405, allocations: 3.938 kB / 1.283 GB, free: 7.75 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.0001153/0.8406, allocations: 128.5 kB / 1.284 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.8406, allocations: 3.953 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.8407, allocations: 20.36 kB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8407, allocations: 0 / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8407, allocations: 0 / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8407, allocations: 0 / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.8412, allocations: 390.3 kB / 1.284 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8412, allocations: 0 / 1.284 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.8413, allocations: 7.984 kB / 1.284 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.8413, allocations: 7.938 kB / 1.284 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.8413, allocations: 4 kB / 1.284 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8413, allocations: 3.938 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8413, allocations: 0 / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.8416, allocations: 203.5 kB / 1.284 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.8417, allocations: 85 kB / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.8417, allocations: 4 kB / 1.284 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.8418, allocations: 7.938 kB / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.8418, allocations: 11.98 kB / 1.284 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.8418, allocations: 0 / 1.284 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.8419, allocations: 99.2 kB / 1.284 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8419, allocations: 0 / 1.284 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002998/0.8422, allocations: 39.92 kB / 1.284 GB, free: 6.648 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.0008471/0.843, allocations: 0.8036 MB / 1.285 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.8433, allocations: 71.88 kB / 1.285 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.8433, allocations: 0 / 1.285 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.972e-05/0.8434, allocations: 36.11 kB / 1.285 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.8436, allocations: 18.73 kB / 1.285 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.8454, allocations: 1.504 MB / 1.287 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.8457, allocations: 0.6924 MB / 1.288 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.8458, allocations: 7.984 kB / 1.288 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.8458, allocations: 23.42 kB / 1.288 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8458, allocations: 0 / 1.288 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.8723, allocations: 2.707 MB / 1.29 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/9.195, allocations: 9.891 kB / 1.29 GB, free: 0.8125 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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_Herkel2008WindowsTiltedOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_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.519710313994437]