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.006336/0.006337, allocations: 101 kB / 15.73 MB, free: 5.992 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.00135/0.00135, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.501/2.501, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 61.59 kB / 0.9508 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3177, allocations: 140.4 MB / 1.088 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002713/0.3205, allocations: 1.504 MB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3219, allocations: 0.7298 MB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.322, allocations: 3.938 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.322, allocations: 3.938 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.3221, allocations: 7.875 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.3227, allocations: 123.6 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.3228, allocations: 71.83 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.323, allocations: 15.97 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3231, allocations: 39.86 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.3232, allocations: 43.81 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3232, allocations: 8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.3234, allocations: 91.84 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.3234, allocations: 19.92 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.3235, allocations: 35.86 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.3238, allocations: 139.6 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3238, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3238, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.3238, allocations: 0 / 1.091 GB, free: 14.75 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.0006788/0.3245, allocations: 417 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3246, allocations: 8.031 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.3246, allocations: 16.84 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3248, allocations: 180.2 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.3248, allocations: 8.375 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3248, allocations: 12.25 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.325, allocations: 65.97 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.325, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.3251, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3251, allocations: 3.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.3252, allocations: 35.97 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.3258, allocations: 312.8 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.326, allocations: 54.5 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.3261, allocations: 28.97 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3261, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.3263, allocations: 79.45 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3263, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004162/0.3267, allocations: 149.5 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3268, allocations: 51.41 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.3269, allocations: 118.2 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3269, allocations: 33.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.327, allocations: 99.97 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.327, allocations: 11.91 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.3271, allocations: 25.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3272, allocations: 322.8 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.3273, allocations: 27.98 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.3274, allocations: 55.47 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3276, allocations: 79.34 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3276, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002533/0.3278, allocations: 117.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3279, allocations: 12.06 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3279, allocations: 7.922 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3279, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.328, allocations: 11.94 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.328, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.3281, allocations: 15.89 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3281, allocations: 4 kB / 1.093 GB, free: 12.17 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 0.0001021/0.3282, allocations: 121.7 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.3282, allocations: 11.91 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.3283, allocations: 12.36 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3283, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3283, allocations: 4.062 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3283, allocations: 7.938 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.3288, allocations: 374.5 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3288, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.3288, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3288, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3289, allocations: 3.984 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3289, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.3289, allocations: 3.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.3292, allocations: 215.7 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.3292, allocations: 81.05 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3293, allocations: 4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.3294, allocations: 7.984 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.3294, allocations: 11.94 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3294, allocations: 7.984 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.683e-05/0.3295, allocations: 91.27 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3295, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003368/0.3299, allocations: 39.91 kB / 1.094 GB, free: 11.09 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.0003656/0.3302, allocations: 153.6 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3305, allocations: 79.92 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3305, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3306, allocations: 35.92 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.3309, allocations: 17.89 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.3313, allocations: 172.6 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3316, allocations: 0.6885 MB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.3316, allocations: 11.73 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.3316, allocations: 15.38 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3316, allocations: 0 / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of Templates: time 0.004144/0.3358, allocations: 1.461 MB / 1.096 GB, free: 8.418 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