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.0014/0.0014, allocations: 118.3 kB / 16.42 MB, free: 6.484 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.001507/0.001507, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.147/2.147, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7207, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002358/0.7231, allocations: 1.487 MB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.7241, allocations: 0.7238 MB / 1.091 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.7241, allocations: 1.375 kB / 1.091 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.7242, allocations: 4.734 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.071e-05/0.7242, allocations: 10.7 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.7247, allocations: 128.6 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.7248, allocations: 77.72 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.7249, allocations: 15.92 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.725, allocations: 39.45 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.7251, allocations: 37.64 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.7251, allocations: 6.094 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.7253, allocations: 89.66 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.7253, allocations: 23.94 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.7254, allocations: 27.14 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.7256, allocations: 148 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7256, allocations: 1.359 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7256, allocations: 0 / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7257, allocations: 0.8125 kB / 1.091 GB, free: 3.992 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.0005425/0.7262, allocations: 426.4 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7262, allocations: 8.969 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.7263, allocations: 8.938 kB / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.7264, allocations: 173.5 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.7264, allocations: 3.328 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.7264, allocations: 7.531 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.7266, allocations: 72.89 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7266, allocations: 0.9375 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7266, allocations: 0 / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7266, allocations: 1.922 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.7268, allocations: 36.12 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.7273, allocations: 318.2 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.7274, allocations: 50.23 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.7275, allocations: 31.61 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.7276, allocations: 9.531 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.7277, allocations: 77.12 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.7277, allocations: 0 / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003733/0.7281, allocations: 140.9 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.7281, allocations: 54.41 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.7282, allocations: 118.9 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.7282, allocations: 27.2 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.7282, allocations: 100 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.7283, allocations: 12.45 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.7283, allocations: 28.98 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.7284, allocations: 324.1 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/0.7284, allocations: 31.39 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.7285, allocations: 45.5 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.7287, allocations: 77.09 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.7287, allocations: 0 / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.7289, allocations: 108.8 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.7289, allocations: 9.531 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.729, allocations: 5.891 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.729, allocations: 1.031 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.7291, allocations: 15.3 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.7291, allocations: 1.938 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.7292, allocations: 12.94 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.7292, allocations: 3.562 kB / 1.094 GB, free: 2.008 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 5.937e-05/0.7292, allocations: 126 kB / 1.094 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.7293, allocations: 11.61 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.7293, allocations: 15.48 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7293, allocations: 0.7969 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7293, allocations: 1 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.7293, allocations: 79.78 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.7293, allocations: 1.531 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.7294, allocations: 12.06 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.7295, allocations: 9.047 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002772/0.7297, allocations: 188.3 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002556/0.73, allocations: 291 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.924e-05/0.7301, allocations: 29.84 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.7302, allocations: 92.56 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of Backend: time 8.92e-07/0.7302, allocations: 0 / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005858/0.7307, allocations: 194.5 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003243/0.7311, allocations: 0.623 MB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of Templates: time 0.004205/0.7353, allocations: 1.503 MB / 1.097 GB, free: 432 kB / 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/jenkins1/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