Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001505, allocations: 190.6 kB / 16.67 MB, free: 6.574 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.501/1.501, allocations: 222.9 MB / 240.3 MB, free: 4.352 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.491/2.491, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62.09 kB / 0.9508 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002493/0.3199, allocations: 1.47 MB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3212, allocations: 0.7375 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.3212, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.3213, allocations: 3.938 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.3213, allocations: 15.88 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.3219, allocations: 119.6 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.322, allocations: 71.83 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.3221, allocations: 15.97 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.3222, allocations: 35.86 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.3223, allocations: 43.81 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3223, allocations: 12 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3225, allocations: 95.84 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.3225, allocations: 19.92 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.3226, allocations: 31.86 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3228, allocations: 139.5 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3228, allocations: 0 / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3228, allocations: 0 / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3228, allocations: 0 / 1.091 GB, free: 14.74 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.000611/0.3234, allocations: 424.7 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3235, allocations: 12.03 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.3235, allocations: 8.891 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3237, allocations: 180.2 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.3237, allocations: 8.375 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3237, allocations: 8.312 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3239, allocations: 69.97 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3239, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3239, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3239, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3241, allocations: 47.95 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.3247, allocations: 312.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3248, allocations: 54.5 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.3249, allocations: 36.97 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.3249, allocations: 4.062 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.3251, allocations: 75.38 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3251, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003893/0.3255, allocations: 141.5 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3256, allocations: 51.41 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.3257, allocations: 125.8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3257, allocations: 29.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.3258, allocations: 92.08 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.3258, allocations: 23.81 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3259, allocations: 25.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.326, allocations: 322.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.3261, allocations: 27.98 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3262, allocations: 50.55 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3264, allocations: 78.78 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3264, allocations: 3.938 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002744/0.3267, allocations: 113.6 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3267, allocations: 7.984 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3267, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3267, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3268, allocations: 8 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3269, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.327, allocations: 11.94 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.327, 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: 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 9.798e-05/0.3271, allocations: 126.8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.3271, allocations: 11.95 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.3271, allocations: 8.359 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3272, allocations: 4 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3272, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3272, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.3277, allocations: 382.4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3277, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.3277, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3277, allocations: 4 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3278, allocations: 3.984 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3278, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3278, allocations: 3.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.3281, allocations: 203.5 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.3281, allocations: 93 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3281, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.3282, allocations: 11.98 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3283, allocations: 3.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3283, allocations: 7.984 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.3284, allocations: 95.27 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.905e-06/0.3284, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002922/0.3287, allocations: 43.81 kB / 1.094 GB, free: 11.08 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,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.0003049/0.329, allocations: 166.1 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3292, allocations: 75.89 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3293, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.3294, allocations: 36.36 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3296, allocations: 8.156 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.0003615/0.33, allocations: 189 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3302, allocations: 0.6923 MB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.3303, allocations: 7.75 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3303, allocations: 11.44 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3303, allocations: 0 / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of Templates: time 0.004345/0.3347, allocations: 1.455 MB / 1.096 GB, free: 8.414 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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