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.00115/0.00115, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.00115/0.00115, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.168 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.473/2.473, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.001787/0.001787, allocations: 75.86 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7639, allocations: 168.7 MB / 1.271 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002218/0.7661, allocations: 1.529 MB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.7672, allocations: 0.7438 MB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.7672, allocations: 4.812 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.7672, allocations: 8.531 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.7673, allocations: 7 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.7677, allocations: 125.9 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.7678, allocations: 76.69 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.7679, allocations: 8.984 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.768, allocations: 34.78 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.768, allocations: 42.77 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.768, allocations: 6.594 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.7682, allocations: 113 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.7682, allocations: 12.8 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.7683, allocations: 31.33 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.7685, allocations: 137.6 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7685, allocations: 0.8125 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7685, allocations: 3.938 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7685, allocations: 0 / 1.274 GB, free: 5.777 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.0004774/0.769, allocations: 422.7 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.769, allocations: 13.12 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.432e-05/0.769, allocations: 33.5 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.7691, allocations: 8.328 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.622e-05/0.7691, allocations: 174.3 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.7691, allocations: 6.812 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.7692, allocations: 4.188 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.7693, allocations: 67.98 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7693, allocations: 2.531 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.7693, allocations: 1.031 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7693, allocations: 0.9688 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.7694, allocations: 46.23 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.7699, allocations: 312.9 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.77, allocations: 43.05 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.7701, allocations: 35.56 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.7701, allocations: 4.625 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.7703, allocations: 91.56 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.7703, allocations: 0 / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003473/0.7706, allocations: 129.7 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.7706, allocations: 57.81 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.7707, allocations: 128.1 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.7707, allocations: 27.05 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.7707, allocations: 87.91 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.7708, allocations: 15.3 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.7708, allocations: 30.05 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.7708, allocations: 319 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.7709, allocations: 31.78 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.771, allocations: 49.81 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.7711, allocations: 72.89 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.7711, allocations: 0 / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002106/0.7713, allocations: 116 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.7713, allocations: 8.828 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.7714, allocations: 1.469 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7714, allocations: 0.75 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.7714, allocations: 16.77 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.7715, allocations: 2.922 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.7715, allocations: 12.56 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.7715, allocations: 7.047 kB / 1.276 GB, free: 3.746 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 5.452e-05/0.7716, allocations: 124.4 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.7716, allocations: 7.812 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.7716, allocations: 10.84 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7716, allocations: 5.625 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7716, allocations: 0 / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7716, allocations: 3.297 kB / 1.277 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.772, allocations: 380.2 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.772, allocations: 0 / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.772, allocations: 11.64 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.772, allocations: 0.5625 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.772, allocations: 1.312 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.772, allocations: 4.75 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.772, allocations: 0 / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.7722, allocations: 216.6 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.7723, allocations: 78.86 kB / 1.277 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7723, allocations: 6.062 kB / 1.277 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.7724, allocations: 8.25 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.7724, allocations: 11.53 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.7724, allocations: 1.625 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.05e-05/0.7724, allocations: 96.05 kB / 1.277 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7724, allocations: 0 / 1.277 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002741/0.7727, allocations: 42.41 kB / 1.277 GB, free: 2.887 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.0005828/0.7733, allocations: 0.799 MB / 1.278 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.7735, allocations: 72.39 kB / 1.278 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7735, allocations: 4.125 kB / 1.278 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.7736, allocations: 31.5 kB / 1.278 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.7738, allocations: 13.88 kB / 1.278 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.7752, allocations: 1.507 MB / 1.28 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.7755, allocations: 0.6925 MB / 1.28 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.7755, allocations: 3.75 kB / 1.28 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.7756, allocations: 25.08 kB / 1.28 GB, free: 16.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7756, allocations: 9.188 kB / 1.28 GB, free: 16.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.8001, allocations: 2.647 MB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.776, allocations: 6.844 kB / 1.283 GB, free: 15.57 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 13.031528411000181]