Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_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.007709/0.007709, allocations: 102.3 kB / 15.73 MB, free: 6.035 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.001759/0.001759, allocations: 199.7 kB / 16.68 MB, free: 5.957 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 461.9 MB / 0.7348 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.91 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3186, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002534/0.3212, allocations: 1.501 MB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3224, allocations: 0.7287 MB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.3225, allocations: 4 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.3226, allocations: 3.938 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.3226, allocations: 7.875 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.3232, allocations: 127.6 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3233, allocations: 75.75 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.3235, allocations: 19.95 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.3236, allocations: 27.92 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.3236, allocations: 43.81 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3237, allocations: 8 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.3238, allocations: 95.84 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.3239, allocations: 19.92 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.3239, allocations: 31.86 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3242, allocations: 151.9 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3242, allocations: 0 / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3242, allocations: 0 / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3242, allocations: 0 / 1.21 GB, free: 7.242 MB / 0.9669 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.0006139/0.3248, allocations: 416.9 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3249, allocations: 8.625 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.3249, allocations: 34.75 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.325, allocations: 8.844 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3251, allocations: 180.1 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.3251, allocations: 12.36 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3251, allocations: 4.375 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3253, allocations: 69.78 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3253, allocations: 0 / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3254, allocations: 4 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3254, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3255, allocations: 35.97 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.3261, allocations: 324.6 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3262, allocations: 46.56 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.3263, allocations: 28.97 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3263, allocations: 4 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.3265, allocations: 79.38 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3265, allocations: 0 / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000387/0.3269, allocations: 141.5 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.327, allocations: 51.41 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3271, allocations: 129.7 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3271, allocations: 29.7 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.3272, allocations: 88.12 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3272, allocations: 27.81 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.3272, allocations: 29.7 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.3273, allocations: 322.8 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.3274, allocations: 23.98 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-05/0.3275, allocations: 46.56 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3277, allocations: 78.42 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3277, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00023/0.3279, allocations: 113.5 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.328, allocations: 8 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.328, allocations: 0 / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.328, allocations: 0 / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.3281, allocations: 23.98 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3281, allocations: 4 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.3282, allocations: 4 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3282, allocations: 4 kB / 1.212 GB, free: 4.652 MB / 0.9669 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 9.042e-05/0.3283, allocations: 125.8 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.3283, allocations: 3.906 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.3284, allocations: 12.38 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3284, allocations: 0 / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3284, allocations: 7.938 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3284, allocations: 0 / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.3288, allocations: 382.3 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3288, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.3289, allocations: 7.984 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3289, allocations: 4 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3289, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3289, allocations: 3.938 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3289, allocations: 4 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3292, allocations: 211.4 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.3292, allocations: 88.98 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.3293, allocations: 0 / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.3294, allocations: 7.938 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3294, allocations: 11.98 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3294, allocations: 0 / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.322e-05/0.3295, allocations: 103.2 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3295, allocations: 0 / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000301/0.3298, allocations: 36 kB / 1.213 GB, free: 3.559 MB / 0.9669 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.0007696/0.3306, allocations: 0.8135 MB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3308, allocations: 71.89 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3308, allocations: 0 / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.3309, allocations: 35.92 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.3312, allocations: 11.94 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3327, allocations: 1.492 MB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.333, allocations: 0.6846 MB / 1.216 GB, free: 328 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.333, allocations: 11.98 kB / 1.216 GB, free: 316 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.3331, allocations: 23.38 kB / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3331, allocations: 0 / 1.216 GB, free: 292 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3525, allocations: 2.679 MB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.728, allocations: 14.06 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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