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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001149/0.001149, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5622, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002074/0.5643, allocations: 1.482 MB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.5653, allocations: 0.7296 MB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.5653, allocations: 4.906 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.5653, allocations: 7.922 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.5654, allocations: 14.05 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.5658, allocations: 121.5 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.5659, allocations: 75.81 kB / 0.9521 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.566, allocations: 13.12 kB / 0.9521 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.5661, allocations: 42.47 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.5662, allocations: 38.81 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.5662, allocations: 6.531 kB / 0.9522 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.5663, allocations: 94.78 kB / 0.9523 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.5664, allocations: 9.797 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.5664, allocations: 48.11 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.5666, allocations: 132.3 kB / 0.9525 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5666, allocations: 3.984 kB / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5666, allocations: 0 / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.5666, allocations: 0 / 0.9525 GB, free: 7.039 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.0004504/0.5671, allocations: 428.4 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5671, allocations: 9.812 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.498e-05/0.5671, allocations: 39.36 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.5672, allocations: 5.062 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.988e-05/0.5672, allocations: 167.4 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5673, allocations: 3.781 kB / 0.9531 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.5673, allocations: 7.656 kB / 0.9531 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.5674, allocations: 67.72 kB / 0.9532 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5675, allocations: 5.125 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5675, allocations: 0 / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5675, allocations: 5.75 kB / 0.9532 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.5676, allocations: 35.75 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.5681, allocations: 325.8 kB / 0.9535 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.5682, allocations: 53.59 kB / 0.9536 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/0.5683, allocations: 34.69 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.5683, allocations: 0.9062 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.5684, allocations: 81.45 kB / 0.9537 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.5685, allocations: 0 / 0.9537 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003285/0.5688, allocations: 144.9 kB / 0.9538 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.5688, allocations: 54 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.5689, allocations: 120.5 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5689, allocations: 26.67 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.5689, allocations: 95.42 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.569, allocations: 18.11 kB / 0.9541 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.569, allocations: 30.25 kB / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.569, allocations: 328.1 kB / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.5691, allocations: 27.11 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.5692, allocations: 53.16 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.5693, allocations: 72.64 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5693, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001979/0.5696, allocations: 105.2 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5696, allocations: 9.781 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5696, allocations: 1.469 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.5696, allocations: 5.453 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.5697, allocations: 11.56 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5697, allocations: 1.406 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.5698, allocations: 16.2 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.5698, allocations: 6.969 kB / 0.9548 GB, free: 4.84 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.408e-05/0.5698, allocations: 122.3 kB / 0.9549 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.5699, allocations: 7.594 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.5699, allocations: 9.781 kB / 0.9549 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5699, allocations: 3.984 kB / 0.9549 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5699, allocations: 5.344 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5699, allocations: 0 / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.5702, allocations: 386.6 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5703, allocations: 0 / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.5703, allocations: 4.344 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5703, allocations: 0 / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5703, allocations: 1.406 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5703, allocations: 3.938 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5703, allocations: 5.422 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.5705, allocations: 208.8 kB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.5706, allocations: 87.55 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.5706, allocations: 1.469 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.5707, allocations: 10.7 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.5707, allocations: 2.25 kB / 0.9556 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.5707, allocations: 6.672 kB / 0.9556 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.5708, allocations: 88.09 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5708, allocations: 0 / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002673/0.571, allocations: 43.98 kB / 0.9557 GB, free: 3.938 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.0005464/0.5716, allocations: 0.8202 MB / 0.9565 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.5718, allocations: 70.03 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5718, allocations: 1.281 kB / 0.9566 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.5719, allocations: 35.88 kB / 0.9566 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.5721, allocations: 7.812 kB / 0.9566 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.5733, allocations: 1.488 MB / 0.9581 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.87e-05/0.5734, allocations: 0.6887 MB / 0.9588 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.5734, allocations: 7.516 kB / 0.9588 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.5735, allocations: 18.94 kB / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5735, allocations: 0 / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6818/1.255, allocations: 2.616 MB / 0.9613 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.715/9.971, allocations: 10.03 kB / 0.9613 GB, free: 15.67 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