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.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.001291/0.001291, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001279/0.001279, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] 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.815/2.815, allocations: 476.7 MB / 0.7611 GB, free: 15.65 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.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: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9427/0.9447, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002694/0.9474, allocations: 1.508 MB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.9487, allocations: 0.7398 MB / 1.271 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.9487, allocations: 0.7812 kB / 1.271 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.9488, allocations: 5.016 kB / 1.271 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.9488, allocations: 10.38 kB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.9494, allocations: 121.5 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.9496, allocations: 85.14 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.9497, allocations: 17.06 kB / 1.271 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.9498, allocations: 35.64 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.9498, allocations: 45.02 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.9499, allocations: 6.156 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.9501, allocations: 101.2 kB / 1.271 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.9501, allocations: 10.41 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.9502, allocations: 39.78 kB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.9505, allocations: 140 kB / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9505, allocations: 0.8125 kB / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9505, allocations: 0 / 1.272 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9505, allocations: 4 kB / 1.272 GB, free: 5.902 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.0005787/0.9511, allocations: 418.8 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9511, allocations: 9.766 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.9512, allocations: 36.8 kB / 1.272 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.9512, allocations: 9.797 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.9513, allocations: 168.8 kB / 1.272 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.9513, allocations: 4.219 kB / 1.272 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.9513, allocations: 8.406 kB / 1.272 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.9515, allocations: 80.11 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9515, allocations: 0 / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.9515, allocations: 0.875 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.9515, allocations: 1.234 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.9517, allocations: 36.17 kB / 1.272 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.9522, allocations: 322.6 kB / 1.273 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.9523, allocations: 47.98 kB / 1.273 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.9524, allocations: 33.8 kB / 1.273 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.9524, allocations: 2 kB / 1.273 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.9526, allocations: 72.97 kB / 1.273 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.9526, allocations: 4 kB / 1.273 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/0.953, allocations: 141.5 kB / 1.273 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.9531, allocations: 53.95 kB / 1.273 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.9532, allocations: 123.5 kB / 1.273 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.9532, allocations: 30.58 kB / 1.273 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.9532, allocations: 92.59 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.9532, allocations: 15.67 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.9533, allocations: 33.19 kB / 1.273 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.9533, allocations: 319.4 kB / 1.273 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.9534, allocations: 27.75 kB / 1.274 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/0.9535, allocations: 46.56 kB / 1.274 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.9537, allocations: 80.44 kB / 1.274 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9537, allocations: 0 / 1.274 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002295/0.9539, allocations: 112.1 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9539, allocations: 6.891 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9539, allocations: 0 / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.9539, allocations: 1.656 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.954, allocations: 13.28 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.954, allocations: 2.031 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.9541, allocations: 11.66 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.9541, allocations: 6.688 kB / 1.274 GB, free: 3.879 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 8.281e-05/0.9542, allocations: 126.2 kB / 1.274 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.9542, allocations: 12.25 kB / 1.274 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.9543, allocations: 8.516 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.9543, allocations: 1.094 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9543, allocations: 0 / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9543, allocations: 5.031 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.9547, allocations: 382.1 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9547, allocations: 0 / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.9548, allocations: 11.33 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9548, allocations: 1 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.9548, allocations: 1.094 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.9548, allocations: 7.953 kB / 1.274 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9548, allocations: 5.078 kB / 1.274 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.955, allocations: 209.2 kB / 1.275 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.9551, allocations: 83.06 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.9551, allocations: 0.9688 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.9552, allocations: 7.125 kB / 1.275 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.9552, allocations: 10.88 kB / 1.275 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.9552, allocations: 2.562 kB / 1.275 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.9553, allocations: 94.88 kB / 1.275 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9553, allocations: 4 kB / 1.275 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003579/0.9556, allocations: 39.81 kB / 1.275 GB, free: 3.02 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.0007667/0.9564, allocations: 0.813 MB / 1.276 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.9567, allocations: 71.86 kB / 1.276 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9567, allocations: 0 / 1.276 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.9568, allocations: 29.44 kB / 1.276 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.957, allocations: 15.66 kB / 1.276 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.9586, allocations: 1.499 MB / 1.277 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.9589, allocations: 0.6931 MB / 1.278 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.959, allocations: 13.69 kB / 1.278 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.959, allocations: 23.25 kB / 1.278 GB, free: 16.22 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.959, allocations: 0 / 1.278 GB, free: 16.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.9872, allocations: 2.662 MB / 1.28 GB, free: 15.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/9.267, allocations: 17.34 kB / 1.28 GB, free: 15.73 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 15.444123700726777]