Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_10_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.005248/0.005248, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001161/0.001162, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 60.12 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9199/0.9219, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002597/0.9246, allocations: 1.508 MB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.9259, allocations: 0.7245 MB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.9259, allocations: 0 / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.926, allocations: 15.86 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.9261, allocations: 7.922 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.9267, allocations: 123.6 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.9268, allocations: 79.72 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.9269, allocations: 7.984 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.927, allocations: 43.91 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.9271, allocations: 35.84 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.9271, allocations: 8 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.9273, allocations: 99.83 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.9273, allocations: 7.984 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.9274, allocations: 39.78 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.9276, allocations: 141.9 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9276, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9276, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.9276, allocations: 0 / 1.169 GB, free: 0.9492 MB / 0.8887 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.0006039/0.9282, allocations: 420.9 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9283, allocations: 8.922 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.9283, allocations: 42.73 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.9284, allocations: 8.844 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.9285, allocations: 168.3 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.9285, allocations: 384 / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.9285, allocations: 8.375 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.9287, allocations: 69.78 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.9287, allocations: 0 / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.9288, allocations: 7.984 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9288, allocations: 3.938 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.9289, allocations: 35.92 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.9295, allocations: 328.7 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.9297, allocations: 46.56 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.9298, allocations: 36.97 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.9298, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.93, allocations: 83.16 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.93, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003782/0.9304, allocations: 137.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.9305, allocations: 59.41 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.9306, allocations: 121.7 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.9306, allocations: 29.7 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.9306, allocations: 88.14 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.9307, allocations: 15.8 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.9307, allocations: 29.7 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9308, allocations: 322.8 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.9309, allocations: 27.98 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.597e-05/0.931, allocations: 54.48 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.9312, allocations: 70.55 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9312, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002351/0.9314, allocations: 113.5 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.9315, allocations: 4 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.9315, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9315, allocations: 4 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.9316, allocations: 15.94 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.9316, allocations: 3.984 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.9317, allocations: 7.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.9317, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 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 8.704e-05/0.9318, allocations: 121.8 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.9318, allocations: 7.906 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.9318, allocations: 12.36 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9319, allocations: 3.938 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.9319, allocations: 7.984 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9319, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.9323, allocations: 382.4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9323, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.9324, allocations: 4 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.9324, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.9324, allocations: 3.984 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9324, allocations: 3.938 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9324, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.9327, allocations: 211.3 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.9328, allocations: 88.95 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.9328, allocations: 11.98 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.9329, allocations: 3.938 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.9329, allocations: 4 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.9329, allocations: 11.98 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.933, allocations: 91.27 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.933, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003028/0.9333, allocations: 39.94 kB / 1.172 GB, free: 13.27 MB / 0.9044 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.0007881/0.9341, allocations: 0.8117 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9344, allocations: 71.97 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.9344, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.9345, allocations: 43.84 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.9347, allocations: 11.94 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.9363, allocations: 1.477 MB / 1.174 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.9366, allocations: 0.6885 MB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.9366, allocations: 4 kB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.9367, allocations: 23.42 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.9367, allocations: 3.938 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.9565, allocations: 2.654 MB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.725, allocations: 11.89 kB / 1.178 GB, free: 7.496 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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