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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, 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.001361/0.001361, allocations: 190.3 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.775/2.775, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.7145, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003094/0.7177, allocations: 1.554 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.7191, allocations: 0.7246 MB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.7191, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.7192, allocations: 3.984 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.18e-05/0.7192, allocations: 11.92 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.7198, allocations: 107.8 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.7199, allocations: 79.7 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.72, allocations: 12 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.7201, allocations: 35.91 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.7202, allocations: 39.83 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.7202, allocations: 8 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.7204, allocations: 91.84 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.7205, allocations: 23.91 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.571e-05/0.7206, allocations: 39.86 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.7208, allocations: 137.6 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7209, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7209, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.7209, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 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.0007221/0.7216, allocations: 424.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7216, allocations: 8.031 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.7217, allocations: 12.84 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7219, allocations: 172.3 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.7219, allocations: 12.31 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.7219, allocations: 4.375 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.7221, allocations: 73.95 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7221, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.7222, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7222, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.7223, allocations: 35.97 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.723, allocations: 324.6 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.7231, allocations: 50.5 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.7232, allocations: 32.97 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.7232, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.7235, allocations: 83.31 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.7235, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004185/0.7239, allocations: 141.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.724, allocations: 55.41 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.7241, allocations: 121.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.7242, allocations: 29.7 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.7242, allocations: 92.14 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.7243, allocations: 15.8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.7243, allocations: 25.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7245, allocations: 322.8 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.7246, allocations: 27.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-05/0.7247, allocations: 46.55 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.7248, allocations: 82.78 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7249, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.7251, allocations: 113.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7251, allocations: 7.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7251, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.7252, allocations: 8.062 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.7253, allocations: 8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7253, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.7253, allocations: 15.83 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.7254, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 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 0.0001151/0.7255, allocations: 121.7 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.7255, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.7256, allocations: 16.36 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.7256, allocations: 11.92 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7256, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7256, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.7261, allocations: 382.3 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7261, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.7261, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7262, allocations: 3.938 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.7262, allocations: 3.984 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7262, allocations: 8 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7262, allocations: 7.938 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.7265, allocations: 203.5 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.7265, allocations: 85.02 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.7266, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.7267, allocations: 7.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.7267, allocations: 7.938 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.7267, allocations: 11.92 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.7268, allocations: 95.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7268, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002956/0.7271, allocations: 32 kB / 1.023 GB, free: 12.26 MB / 0.7794 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.000413/0.7275, allocations: 165.5 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.7278, allocations: 71.89 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7278, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.7279, allocations: 32.38 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.7282, allocations: 17.95 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.7287, allocations: 200.5 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.729, allocations: 0.6884 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.7291, allocations: 4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.7291, allocations: 11.44 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7291, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.004863/0.734, allocations: 1.408 MB / 1.025 GB, free: 9.637 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (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 & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0