Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.001735/0.001735, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002159/0.002159, allocations: 188 kB / 16.25 MB, free: 6.633 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.233/2.233, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6026, allocations: 140.4 MB / 0.9492 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002142/0.6047, allocations: 1.552 MB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.6057, allocations: 0.7211 MB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.6058, allocations: 5.062 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.6058, allocations: 7.984 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.6059, allocations: 6.719 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.6063, allocations: 104.8 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.6064, allocations: 83.08 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.6065, allocations: 18.44 kB / 0.9517 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.6065, allocations: 29.98 kB / 0.9517 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.6066, allocations: 46.97 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.6066, allocations: 10.12 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.6068, allocations: 94.62 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.6068, allocations: 14.55 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.6068, allocations: 36.45 kB / 0.9519 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.607, allocations: 135.3 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.607, allocations: 1.656 kB / 0.952 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.607, allocations: 3.938 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.607, allocations: 0 / 0.952 GB, free: 6.879 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.0004537/0.6075, allocations: 419.3 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6075, allocations: 9.875 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.6076, allocations: 39.98 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.6076, allocations: 4.5 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.6077, allocations: 177.3 kB / 0.9526 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.6077, allocations: 1.75 kB / 0.9526 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.6077, allocations: 8.625 kB / 0.9527 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.6079, allocations: 67.34 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.6079, allocations: 1.375 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6079, allocations: 7.984 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.6079, allocations: 1.219 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.608, allocations: 32.67 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.6085, allocations: 321.4 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.6086, allocations: 56.22 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.6087, allocations: 32.5 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.6087, allocations: 0 / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.6089, allocations: 82.09 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.6089, allocations: 0 / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003686/0.6093, allocations: 141.3 kB / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.6093, allocations: 60.92 kB / 0.9534 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.6094, allocations: 116.9 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.6094, allocations: 30.89 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.6094, allocations: 90.62 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.6094, allocations: 14.62 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.6095, allocations: 30.33 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.6095, allocations: 320.2 kB / 0.954 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.6096, allocations: 30.12 kB / 0.954 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.6097, allocations: 44.69 kB / 0.9541 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.6098, allocations: 82 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6098, allocations: 0 / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001992/0.61, allocations: 118.3 kB / 0.9543 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6101, allocations: 4.906 kB / 0.9543 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6101, allocations: 0 / 0.9543 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6101, allocations: 1.375 kB / 0.9543 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.6102, allocations: 8.312 kB / 0.9543 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.6102, allocations: 6.203 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.6103, allocations: 10.97 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.6103, allocations: 8.062 kB / 0.9543 GB, free: 4.695 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.83e-05/0.6103, allocations: 125.7 kB / 0.9544 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.6104, allocations: 11.81 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.6104, allocations: 13.55 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6104, allocations: 1.156 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.6104, allocations: 0 / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6104, allocations: 1.062 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.6107, allocations: 386.6 kB / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6108, allocations: 0 / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.6108, allocations: 4.188 kB / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6108, allocations: 0 / 0.9548 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.6108, allocations: 9.266 kB / 0.9548 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6108, allocations: 7.875 kB / 0.9548 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6108, allocations: 1.531 kB / 0.9548 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.6111, allocations: 200.6 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.6111, allocations: 83.7 kB / 0.9551 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.6111, allocations: 5.516 kB / 0.9551 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.6112, allocations: 10.62 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.6112, allocations: 14.7 kB / 0.9551 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.6113, allocations: 1.438 kB / 0.9551 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.14e-05/0.6113, allocations: 92.61 kB / 0.9552 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6113, allocations: 0 / 0.9552 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002758/0.6116, allocations: 36.59 kB / 0.9553 GB, free: 3.781 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.0005681/0.6121, allocations: 0.8064 MB / 0.956 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.6124, allocations: 81.17 kB / 0.9561 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6124, allocations: 0 / 0.9561 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.6125, allocations: 36.42 kB / 0.9562 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.6127, allocations: 14.56 kB / 0.9562 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6139, allocations: 1.487 MB / 0.9576 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.614, allocations: 0.6849 MB / 0.9583 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.614, allocations: 15.48 kB / 0.9583 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.6141, allocations: 23.88 kB / 0.9583 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6141, allocations: 0 / 0.9583 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.6261, allocations: 2.497 MB / 0.9608 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.6264, allocations: 273.1 kB / 0.961 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.378, allocations: 4.188 kB / 0.961 GB, free: 15.29 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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