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.008855/0.008855, allocations: 102 kB / 15.73 MB, free: 6.051 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.001925/0.001926, allocations: 195 kB / 16.68 MB, free: 5.969 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.376/2.376, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 58.12 kB / 0.9508 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3113, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002801/0.3142, allocations: 1.492 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3158, allocations: 0.7298 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3159, allocations: 4 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.583e-05/0.316, allocations: 3.938 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.3161, allocations: 11.88 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008576/0.317, allocations: 119.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3171, allocations: 79.7 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3173, allocations: 19.98 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3174, allocations: 35.89 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.3175, allocations: 31.91 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.3176, allocations: 8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.3178, allocations: 103.8 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.3178, allocations: 27.83 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.3179, allocations: 27.86 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3183, allocations: 139.6 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.3183, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3183, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.3183, allocations: 0 / 1.091 GB, free: 14.64 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.0009699/0.3193, allocations: 420.9 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3193, allocations: 8.031 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.3194, allocations: 12.84 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3196, allocations: 184.1 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.3196, allocations: 4.375 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3197, allocations: 8.375 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3199, allocations: 65.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3199, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3199, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.32, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3201, allocations: 39.97 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.3208, allocations: 312.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.321, allocations: 50.55 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.3211, allocations: 32.97 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3211, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.3213, allocations: 79.38 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/0.3213, allocations: 3.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004065/0.3217, allocations: 141.8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3218, allocations: 55.41 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3219, allocations: 121.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.322, allocations: 29.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.3221, allocations: 95.98 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3221, allocations: 7.906 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.3222, allocations: 33.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3223, allocations: 322.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.3224, allocations: 27.92 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3225, allocations: 55.84 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3227, allocations: 83.36 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.3227, allocations: 3.984 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002629/0.323, allocations: 117.5 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.323, allocations: 4 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3231, allocations: 4 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3231, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3232, allocations: 15.98 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3232, allocations: 8.062 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.3233, allocations: 11.84 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.3233, allocations: 4 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 0.0001776/0.3235, allocations: 133.7 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.3235, allocations: 7.906 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3236, allocations: 8.375 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3236, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3236, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3236, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.3242, allocations: 378.5 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3243, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.3243, allocations: 11.92 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3243, allocations: 4 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.3243, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3244, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3244, allocations: 3.938 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.3247, allocations: 207.4 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.3248, allocations: 81.09 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3248, allocations: 7.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.3249, allocations: 8.062 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.325, allocations: 11.92 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.325, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.325, allocations: 99.42 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.325, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003165/0.3254, allocations: 39.91 kB / 1.094 GB, free: 10.98 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.0003692/0.3257, allocations: 166.9 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.326, allocations: 75.94 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.326, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.3261, allocations: 35.92 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3264, allocations: 3.984 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.3268, allocations: 180.6 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3272, allocations: 0.6885 MB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.3272, allocations: 7.75 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.3273, allocations: 15.42 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3273, allocations: 0 / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of Templates: time 0.004569/0.3319, allocations: 1.481 MB / 1.096 GB, free: 8.289 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