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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009369/0.0009369, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005605/0.005605, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005154, allocations: 10.12 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4699, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00234/0.4723, allocations: 1.225 MB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.474, allocations: 0.7169 MB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.4741, allocations: 0 / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.4742, allocations: 7.922 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.4743, allocations: 11.88 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.4751, allocations: 99.77 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.4753, allocations: 67.83 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4754, allocations: 19.98 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.4755, allocations: 27.86 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4756, allocations: 39.83 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.4757, allocations: 4 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.476, allocations: 83.91 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.476, allocations: 15.92 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.4761, allocations: 53.56 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.4764, allocations: 143.8 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4764, allocations: 0 / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4765, allocations: 8 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4765, allocations: 0 / 1.061 GB, free: 2.312 MB / 0.8106 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.000749/0.4772, allocations: 405 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4773, allocations: 11.97 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.4774, allocations: 30.75 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.4774, allocations: 4.938 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.4776, allocations: 176.2 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.4776, allocations: 12.38 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.4777, allocations: 4.375 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.4779, allocations: 73.72 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4779, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4779, allocations: 4 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4779, allocations: 7.938 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.4781, allocations: 43.97 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.4787, allocations: 316.7 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.4789, allocations: 66.48 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.479, allocations: 32.97 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.479, allocations: 0 / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.4792, allocations: 79.31 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.4792, allocations: 4 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.4797, allocations: 145.5 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4797, allocations: 55.41 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4798, allocations: 125.8 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4799, allocations: 29.7 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.4799, allocations: 92.14 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.48, allocations: 23.8 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.48, allocations: 21.66 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4801, allocations: 322.8 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.4802, allocations: 27.98 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4804, allocations: 50.56 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.4805, allocations: 74.55 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4806, allocations: 0 / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002538/0.4808, allocations: 125.5 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4808, allocations: 7.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4809, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4809, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.481, allocations: 11.98 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.481, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.4811, allocations: 12 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4811, allocations: 8.062 kB / 1.064 GB, free: 15.7 MB / 0.8262 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.0001086/0.4812, allocations: 128.6 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.4812, allocations: 7.844 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.4813, allocations: 12.38 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4813, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4813, allocations: 3.938 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4813, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.4818, allocations: 390.4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4818, allocations: 0 / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.4819, allocations: 7.984 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4819, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4819, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4819, allocations: 11.88 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4819, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.4822, allocations: 227.8 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.4823, allocations: 81.02 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.4823, allocations: 0 / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.4824, allocations: 7.938 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4825, allocations: 15.97 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.4825, allocations: 8 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.4825, allocations: 91.27 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4825, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003238/0.4829, allocations: 39.98 kB / 1.065 GB, free: 14.59 MB / 0.8262 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.0008868/0.4838, allocations: 0.8022 MB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.484, allocations: 79.95 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.484, allocations: 0 / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4841, allocations: 35.98 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4844, allocations: 15.81 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.4862, allocations: 1.52 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.4864, allocations: 0.6848 MB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.059e-05/0.4865, allocations: 7.984 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.4865, allocations: 19.44 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of SimCode: time 6.92e-07/0.4866, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.5029, allocations: 2.342 MB / 1.07 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/0.5032, allocations: 271.2 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.403, allocations: 1.25 kB / 1.07 GB, free: 8.77 MB / 0.8262 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