Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_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.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001668/0.001668, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5538/0.5551, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002191/0.5573, allocations: 1.548 MB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.5583, allocations: 0.7319 MB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.5584, allocations: 1.125 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.5584, allocations: 7.922 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.5585, allocations: 9.109 kB / 0.9513 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.5589, allocations: 100.8 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.559, allocations: 70.53 kB / 0.9515 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.559, allocations: 21.59 kB / 0.9515 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.5591, allocations: 37.84 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.5592, allocations: 39.8 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.5592, allocations: 7.781 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.5593, allocations: 81.88 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.5594, allocations: 14.52 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.5594, allocations: 40.22 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.5596, allocations: 130.7 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5596, allocations: 5.406 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5596, allocations: 0 / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.5596, allocations: 3.938 kB / 0.9518 GB, free: 6.93 MB / 0.7169 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.0004521/0.5601, allocations: 421.1 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.5601, allocations: 9.625 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.5602, allocations: 39.98 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.5602, allocations: 4.594 kB / 0.9523 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.119e-05/0.5603, allocations: 167.7 kB / 0.9524 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.5603, allocations: 6.531 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.5603, allocations: 8.844 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.5605, allocations: 71.34 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.5605, allocations: 1.062 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5605, allocations: 3.984 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5605, allocations: 1.125 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.5606, allocations: 32.52 kB / 0.9526 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.5611, allocations: 330.1 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5612, allocations: 48.09 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.5613, allocations: 32.44 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.5613, allocations: 1.375 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.5615, allocations: 81.28 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5615, allocations: 0 / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003498/0.5618, allocations: 131.5 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.5619, allocations: 62.69 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.5619, allocations: 119.6 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5619, allocations: 27.3 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.562, allocations: 102.7 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.562, allocations: 14.3 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.562, allocations: 31.08 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.5621, allocations: 320.1 kB / 0.9538 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.5622, allocations: 22.64 kB / 0.9538 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.5622, allocations: 48.48 kB / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5624, allocations: 81.55 kB / 0.9539 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5624, allocations: 1.781 kB / 0.9539 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002075/0.5626, allocations: 107.8 kB / 0.954 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.5626, allocations: 5.719 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.5626, allocations: 0 / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5627, allocations: 5.5 kB / 0.9541 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.5627, allocations: 16.56 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5628, allocations: 5.109 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.5628, allocations: 12.59 kB / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.5628, allocations: 2.875 kB / 0.9541 GB, free: 4.75 MB / 0.7169 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.708e-05/0.5629, allocations: 126.7 kB / 0.9542 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.5629, allocations: 6.75 kB / 0.9542 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.563, allocations: 21.59 kB / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.563, allocations: 1.344 kB / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.563, allocations: 0 / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.563, allocations: 0 / 0.9542 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.5633, allocations: 379.7 kB / 0.9546 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5633, allocations: 0 / 0.9546 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.5634, allocations: 11.66 kB / 0.9546 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5634, allocations: 0.9375 kB / 0.9546 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5634, allocations: 5.109 kB / 0.9546 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5634, allocations: 8.016 kB / 0.9546 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5634, allocations: 9.109 kB / 0.9546 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.5636, allocations: 196.9 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.5637, allocations: 83.27 kB / 0.9549 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.5637, allocations: 9.297 kB / 0.9549 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.5638, allocations: 6.188 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.5638, allocations: 14.84 kB / 0.9549 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-06/0.5638, allocations: 2.969 kB / 0.9549 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.5639, allocations: 95.95 kB / 0.955 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5639, allocations: 0 / 0.955 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002787/0.5642, allocations: 36.81 kB / 0.9551 GB, free: 3.832 MB / 0.7169 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.0005792/0.5647, allocations: 0.799 MB / 0.9558 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.565, allocations: 69.06 kB / 0.9559 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.565, allocations: 0 / 0.9559 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.5651, allocations: 36.62 kB / 0.9559 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.5653, allocations: 17.31 kB / 0.956 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5665, allocations: 1.497 MB / 0.9574 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.5666, allocations: 0.6844 MB / 0.9581 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.625e-05/0.5667, allocations: 7.609 kB / 0.9581 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.5667, allocations: 17.84 kB / 0.9581 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5667, allocations: 1.25 kB / 0.9581 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.5784, allocations: 2.424 MB / 0.9605 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5786, allocations: 272.6 kB / 0.9607 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.317, allocations: 3.938 kB / 0.9607 GB, free: 15.38 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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