Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_10_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.001096/0.001096, allocations: 90.83 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.009031/0.009032, allocations: 171.7 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.763/1.763, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6485/0.6489, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001567/0.6505, allocations: 1.219 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.6517, allocations: 0.7169 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.6517, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.6518, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.6518, allocations: 15.81 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.6523, allocations: 103.8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.6524, allocations: 75.77 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.6525, allocations: 8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.6526, allocations: 31.91 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.6526, allocations: 31.83 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.6527, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.6529, allocations: 99.84 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.6529, allocations: 15.91 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.6529, allocations: 53.56 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.6531, allocations: 133.9 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6532, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6532, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6532, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 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.0005303/0.6537, allocations: 405 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.6538, allocations: 16.03 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.6538, allocations: 38.73 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.6538, allocations: 8.844 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/0.6539, allocations: 176.2 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.654, allocations: 384 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.654, allocations: 8.375 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.6542, allocations: 77.77 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6542, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6542, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6542, allocations: 3.984 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.6544, allocations: 39.98 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.6549, allocations: 332.5 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.655, allocations: 46.56 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.6551, allocations: 32.97 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.6552, allocations: 11.94 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.6554, allocations: 79.38 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.6554, allocations: 3.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003848/0.6558, allocations: 145.7 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.6558, allocations: 55.41 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.6559, allocations: 125.7 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.6559, allocations: 25.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.656, allocations: 92.14 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.656, allocations: 15.8 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.656, allocations: 17.72 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.6561, allocations: 322.8 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.6562, allocations: 35.98 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.6563, allocations: 50.55 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.6565, allocations: 82.44 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6565, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002507/0.6568, allocations: 121.5 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.6568, allocations: 8 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.6568, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.6568, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.6569, allocations: 19.98 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.6569, allocations: 4.391 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.657, allocations: 11.94 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.657, allocations: 7.984 kB / 1.028 GB, free: 10.68 MB / 0.7794 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.478e-05/0.6571, allocations: 117.8 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.6571, allocations: 11.91 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.6572, allocations: 8.359 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6572, allocations: 11.94 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6572, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6572, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.6576, allocations: 386.4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6576, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.6577, allocations: 11.98 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6577, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.6577, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.6577, allocations: 3.938 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6577, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.658, allocations: 223.3 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.6581, allocations: 89.02 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.6581, allocations: 0 / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.6582, allocations: 11.92 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.6582, allocations: 4 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.6582, allocations: 0 / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.6583, allocations: 99.27 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6583, allocations: 0 / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002842/0.6586, allocations: 35.98 kB / 1.029 GB, free: 9.582 MB / 0.7794 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.0007235/0.6593, allocations: 0.8164 MB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.6595, allocations: 71.95 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6596, allocations: 0 / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.6597, allocations: 47.91 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.6599, allocations: 13.75 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.6614, allocations: 1.514 MB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.6616, allocations: 0.6926 MB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.6617, allocations: 4 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.6617, allocations: 21.19 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6617, allocations: 0 / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.6732, allocations: 2.327 MB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.6734, allocations: 277.2 kB / 1.035 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.529, allocations: 3.938 kB / 1.035 GB, free: 3.754 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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