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.001632/0.001632, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001863/0.001863, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.738 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.78/2.78, allocations: 476 MB / 0.7699 GB, free: 4.742 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.002124/0.002124, allocations: 64.2 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002877/0.3278, allocations: 1.504 MB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3293, allocations: 0.7575 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.3294, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.3294, allocations: 7.875 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.3295, allocations: 11.86 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.3301, allocations: 143.6 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.3302, allocations: 71.78 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3304, allocations: 16.16 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3305, allocations: 43.86 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.845e-05/0.3306, allocations: 39.83 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3306, allocations: 8 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.3309, allocations: 131.8 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.3309, allocations: 19.92 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.331, allocations: 31.84 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3313, allocations: 148.9 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3313, allocations: 0 / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3313, allocations: 0 / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3313, allocations: 0 / 1.285 GB, free: 9.453 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.0006905/0.332, allocations: 359.5 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.332, allocations: 12.03 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.3321, allocations: 30.75 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.3324, allocations: 28.91 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3326, allocations: 138.3 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.3327, allocations: 4.375 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3327, allocations: 4.375 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3329, allocations: 77.53 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3329, allocations: 7.938 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3329, allocations: 3.984 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.3329, allocations: 4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.333, allocations: 35.98 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.3336, allocations: 271.8 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3338, allocations: 46.5 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.3338, allocations: 32.97 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3339, allocations: 7.984 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.334, allocations: 71.38 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.334, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004163/0.3345, allocations: 149.6 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3345, allocations: 55.34 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3346, allocations: 127.1 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3347, allocations: 29.7 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.3347, allocations: 92.09 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3348, allocations: 19.84 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.3348, allocations: 29.7 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.335, allocations: 326.8 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.3351, allocations: 19.98 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3352, allocations: 50.55 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3353, allocations: 70.5 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3353, allocations: 4 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002406/0.3356, allocations: 117.5 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3356, allocations: 4 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3356, allocations: 4 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3356, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3357, allocations: 11.98 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3357, allocations: 0 / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.3358, allocations: 8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3358, allocations: 11.98 kB / 1.288 GB, free: 7.012 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.0001006/0.3359, allocations: 123 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.3359, allocations: 7.953 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.3359, allocations: 16.31 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3359, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3359, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3359, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.3364, allocations: 341.6 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3364, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.3364, allocations: 8 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3364, allocations: 3.938 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3365, allocations: 11.98 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3365, allocations: 3.938 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3365, allocations: 3.938 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3367, allocations: 207.5 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.3368, allocations: 15.89 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3368, allocations: 3.984 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.3369, allocations: 11.94 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.3369, allocations: 7.984 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3369, allocations: 4 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.108e-05/0.337, allocations: 100.3 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.337, allocations: 0 / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003003/0.3373, allocations: 31.94 kB / 1.288 GB, free: 6.051 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.0009309/0.3382, allocations: 0.825 MB / 1.289 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3385, allocations: 75.88 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3385, allocations: 0 / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.3385, allocations: 23.98 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3388, allocations: 15.88 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3406, allocations: 1.501 MB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.872e-05/0.3406, allocations: 75.27 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.3407, allocations: 4 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.3407, allocations: 23.42 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3407, allocations: 0 / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.3708, allocations: 3.252 MB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.06, allocations: 15.3 kB / 1.294 GB, free: 292 kB / 0.9825 GB " [Timeout remaining time 287] (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: 18.854443633928895]