Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008563/0.008563, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001858/0.001858, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.522/2.522, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 62.72 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002607/0.3031, allocations: 1.501 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3044, allocations: 0.7259 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.3044, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.432e-05/0.3045, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.3045, allocations: 15.86 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.3051, allocations: 115.6 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3052, allocations: 75.77 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.3053, allocations: 19.98 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.3054, allocations: 39.89 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.3055, allocations: 39.84 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3055, allocations: 4 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3057, allocations: 95.84 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.3057, allocations: 23.91 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.3058, allocations: 31.86 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.306, allocations: 143.6 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.306, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.306, allocations: 4 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.306, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 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.0006219/0.3067, allocations: 409 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3067, allocations: 12.03 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.3068, allocations: 8.844 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3069, allocations: 180.2 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3069, allocations: 4.375 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.3069, allocations: 12.31 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3071, allocations: 73.97 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.3071, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3072, allocations: 3.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3072, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3073, allocations: 39.95 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.3079, allocations: 316.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.308, allocations: 50.56 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.3081, allocations: 36.95 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3082, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.3083, allocations: 75.38 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3083, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003898/0.3087, allocations: 145.5 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3088, allocations: 55.41 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.3089, allocations: 117.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3089, allocations: 33.7 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.309, allocations: 91.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.309, allocations: 11.91 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.309, allocations: 29.7 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3092, allocations: 326.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.3092, allocations: 23.98 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.522e-05/0.3093, allocations: 55.41 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3095, allocations: 75.36 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3095, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.3098, allocations: 121.4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3098, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3098, allocations: 4.312 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3098, allocations: 8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.3099, allocations: 16.05 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3099, allocations: 0 / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.31, allocations: 11.91 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.31, allocations: 7.984 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.635e-05/0.3101, allocations: 129 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.3102, allocations: 11.89 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3102, allocations: 12.38 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3102, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3102, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3102, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.3107, allocations: 374.5 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3107, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.3107, allocations: 4 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3108, allocations: 3.938 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3108, allocations: 7.984 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3108, allocations: 4 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3108, allocations: 11.88 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.3111, allocations: 199.4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.3111, allocations: 85.09 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3111, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.3112, allocations: 8 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.3113, allocations: 7.922 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3113, allocations: 4 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.3113, allocations: 95.27 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3114, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003003/0.3117, allocations: 39.91 kB / 1.094 GB, free: 11 MB / 0.8575 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,occ.y,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.0003102/0.312, allocations: 167.9 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3122, allocations: 67.95 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3122, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.3123, allocations: 35.92 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3126, allocations: 17.98 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.313, allocations: 175.6 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3133, allocations: 0.6963 MB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.3133, allocations: 7.75 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.3133, allocations: 15.42 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3133, allocations: 0 / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of Templates: time 0.003948/0.3173, allocations: 1.457 MB / 1.096 GB, free: 8.32 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0