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.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.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.001407/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001091/0.001091, allocations: 196 kB / 16.14 MB, free: 6.719 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.17/2.17, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4729, allocations: 140.3 MB / 0.949 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001971/0.4749, allocations: 1.56 MB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.4758, allocations: 0.7366 MB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.4758, allocations: 1.312 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.4758, allocations: 7.875 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.4759, allocations: 9.234 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.4763, allocations: 101.4 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.4763, allocations: 69.58 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/0.4764, allocations: 17.45 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.4765, allocations: 37.69 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.4766, allocations: 39.33 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.4766, allocations: 4.906 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.4767, allocations: 84.91 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.4767, allocations: 14.64 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.4768, allocations: 37.11 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.477, allocations: 130.3 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.477, allocations: 1.625 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.51e-07/0.477, allocations: 0 / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.477, allocations: 0 / 0.9518 GB, free: 7.008 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.0004358/0.4774, allocations: 427.6 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4775, allocations: 9.969 kB / 0.9522 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.275e-05/0.4775, allocations: 35.81 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.4775, allocations: 5.406 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.257e-05/0.4776, allocations: 175 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4776, allocations: 2.938 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4776, allocations: 8 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.4778, allocations: 76.03 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.4778, allocations: 0 / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4778, allocations: 2.125 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.4778, allocations: 0 / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.4779, allocations: 36.53 kB / 0.9526 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.4784, allocations: 325.3 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4785, allocations: 56.55 kB / 0.9529 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.4786, allocations: 32.16 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4786, allocations: 1.344 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.4788, allocations: 77.06 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4788, allocations: 7.938 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003377/0.4791, allocations: 136.4 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.4791, allocations: 57.84 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.63e-05/0.4792, allocations: 120.2 kB / 0.9533 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.4792, allocations: 26.92 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.4793, allocations: 90.67 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.4793, allocations: 10.47 kB / 0.9535 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.4793, allocations: 34.14 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.4794, allocations: 325.2 kB / 0.9538 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.4794, allocations: 26.3 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.4795, allocations: 48.33 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.4797, allocations: 85.97 kB / 0.954 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4797, allocations: 1.438 kB / 0.954 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002104/0.4799, allocations: 108.8 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.4799, allocations: 7.094 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.4799, allocations: 0 / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.4799, allocations: 1.031 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.48, allocations: 16.42 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.48, allocations: 1.469 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.4801, allocations: 11.72 kB / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.4801, allocations: 11.89 kB / 0.9541 GB, free: 4.809 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.341e-05/0.4802, allocations: 122.8 kB / 0.9542 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.4802, allocations: 6.312 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.4802, allocations: 9.75 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4802, allocations: 1.531 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.4802, allocations: 0 / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.4802, allocations: 9.641 kB / 0.9542 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.4806, allocations: 381.4 kB / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4806, allocations: 1.594 kB / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.4806, allocations: 11.02 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4806, allocations: 0 / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.4806, allocations: 1.25 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4806, allocations: 5.031 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4806, allocations: 0 / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.4809, allocations: 206.8 kB / 0.9548 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.4809, allocations: 82.86 kB / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4809, allocations: 4 kB / 0.9549 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.481, allocations: 11.55 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.481, allocations: 2.344 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.481, allocations: 2.594 kB / 0.9549 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.4811, allocations: 92.14 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4811, allocations: 4 kB / 0.955 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002641/0.4814, allocations: 43.55 kB / 0.9551 GB, free: 3.902 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.0005256/0.4819, allocations: 0.8133 MB / 0.9559 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.4821, allocations: 70.08 kB / 0.9559 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4821, allocations: 3.938 kB / 0.9559 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.4822, allocations: 33.08 kB / 0.956 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.4824, allocations: 14.97 kB / 0.956 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4835, allocations: 1.485 MB / 0.9574 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.939e-05/0.4836, allocations: 0.6925 MB / 0.9581 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.4836, allocations: 3.375 kB / 0.9581 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.4837, allocations: 23.2 kB / 0.9581 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4837, allocations: 0 / 0.9581 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.5071, allocations: 2.432 MB / 0.9605 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.5073, allocations: 271.8 kB / 0.9608 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.308, allocations: 0 / 0.9608 GB, free: 15.45 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