Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006607/0.006607, allocations: 101.2 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 195.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.012/3.012, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3501, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002778/0.3529, allocations: 1.507 MB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3543, allocations: 0.7326 MB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.3543, allocations: 0 / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.3544, allocations: 3.938 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.3545, allocations: 23.84 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.3551, allocations: 115.6 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3552, allocations: 83.7 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3553, allocations: 15.95 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3555, allocations: 35.89 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.3555, allocations: 35.84 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3556, allocations: 12 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.3558, allocations: 95.84 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.3558, allocations: 23.91 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.3559, allocations: 27.86 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.3562, allocations: 139.9 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3562, allocations: 0 / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3562, allocations: 4 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.3562, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 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.000647/0.3568, allocations: 417 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3569, allocations: 12.62 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.3569, allocations: 30.75 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.357, allocations: 8.844 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3571, allocations: 180.2 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3571, allocations: 8.375 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3572, allocations: 4.375 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3573, allocations: 65.78 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3574, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3574, allocations: 3.938 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3574, allocations: 8 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3575, allocations: 43.95 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.3581, allocations: 312.6 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3582, allocations: 50.55 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.3583, allocations: 36.97 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3584, allocations: 0 / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.3586, allocations: 75.38 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.3586, allocations: 0 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000382/0.359, allocations: 141.6 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.359, allocations: 59.34 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.3591, allocations: 125.7 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3591, allocations: 25.7 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.3592, allocations: 92.14 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3592, allocations: 19.73 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.3593, allocations: 25.72 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3594, allocations: 322.8 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.3595, allocations: 31.98 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.3596, allocations: 46.55 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3597, allocations: 70.5 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3597, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002331/0.36, allocations: 113.5 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.36, allocations: 4 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.36, allocations: 4 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.36, allocations: 0 / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3601, allocations: 23.86 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3602, allocations: 0 / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.3602, allocations: 7.984 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3603, allocations: 4 kB / 1.212 GB, free: 4.742 MB / 0.9669 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 9.087e-05/0.3604, allocations: 121.8 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.3604, allocations: 7.906 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.3604, allocations: 12.38 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3604, allocations: 0 / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3604, allocations: 0 / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3604, allocations: 3.984 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.3609, allocations: 382.8 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.3609, allocations: 3.984 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.3609, allocations: 8 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3609, allocations: 4 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.361, allocations: 4 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.361, allocations: 4.016 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.361, allocations: 3.984 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3612, allocations: 211.3 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3613, allocations: 97 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3613, allocations: 0 / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.3614, allocations: 11.92 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3615, allocations: 0 / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3615, allocations: 4 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.467e-05/0.3615, allocations: 91.27 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3615, allocations: 0 / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003231/0.3619, allocations: 39.98 kB / 1.213 GB, free: 3.648 MB / 0.9669 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.0008128/0.3627, allocations: 0.808 MB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3629, allocations: 71.97 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.363, allocations: 0 / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.3631, allocations: 39.92 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3633, allocations: 14.2 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.3649, allocations: 1.493 MB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3652, allocations: 0.6846 MB / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.3652, allocations: 7.938 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.3653, allocations: 23.42 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3653, allocations: 0 / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.3869, allocations: 2.694 MB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.927, allocations: 5.234 kB / 1.219 GB, free: 13.83 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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