Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 216 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.8 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.33 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002829/0.3145, allocations: 1.527 MB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.316, allocations: 0.808 MB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.3161, allocations: 0 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.3161, allocations: 3.938 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.3162, allocations: 15.84 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.3168, allocations: 147.5 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3169, allocations: 83.75 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.317, allocations: 8.125 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3172, allocations: 39.86 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.3172, allocations: 43.81 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3173, allocations: 8 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.3176, allocations: 143.8 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.3176, allocations: 15.97 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.3176, allocations: 35.73 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.3179, allocations: 155.5 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3179, allocations: 0 / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3179, allocations: 0 / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3179, allocations: 0 / 1.288 GB, free: 8.184 MB / 0.9825 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.0006976/0.3186, allocations: 352.9 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3187, allocations: 12.03 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.319, allocations: 28.86 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3193, allocations: 138.4 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3193, allocations: 4.375 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3193, allocations: 4.375 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3195, allocations: 77.72 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3195, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3195, allocations: 3.984 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3195, allocations: 0 / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3197, allocations: 31.98 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.3203, allocations: 295.8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3204, allocations: 46.5 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.3205, allocations: 28.97 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3205, allocations: 0 / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.3207, allocations: 83.44 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3207, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004069/0.3211, allocations: 141.5 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.3211, allocations: 55.41 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3213, allocations: 125.6 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3213, allocations: 29.7 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.3214, allocations: 96.09 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.3214, allocations: 23.83 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.3214, allocations: 29.7 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3216, allocations: 314.8 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/0.3217, allocations: 31.98 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.3218, allocations: 46.55 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.322, allocations: 82.47 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.322, allocations: 0 / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000248/0.3222, allocations: 113.5 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3223, allocations: 4 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3223, allocations: 4 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3223, allocations: 4.062 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.3224, allocations: 8 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3224, allocations: 3.984 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.3224, allocations: 4 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3225, allocations: 8 kB / 1.29 GB, free: 5.789 MB / 0.9825 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 0.0001025/0.3226, allocations: 121.7 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.3226, allocations: 11.89 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3226, allocations: 24.3 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3226, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3226, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3226, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.3231, allocations: 349.5 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3231, allocations: 3.984 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.3231, allocations: 7.938 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3231, allocations: 4 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3232, allocations: 3.984 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3232, allocations: 7.938 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3232, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.3235, allocations: 203.5 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.3235, allocations: 7.891 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3235, allocations: 4 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.3236, allocations: 7.922 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3236, allocations: 15.98 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.3236, allocations: 0 / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.966e-05/0.3237, allocations: 95.27 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3237, allocations: 0 / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003076/0.324, allocations: 35.94 kB / 1.291 GB, free: 4.824 MB / 0.9825 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.0003783/0.3244, allocations: 176.5 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3246, allocations: 67.94 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3246, allocations: 0 / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3247, allocations: 39.91 kB / 1.291 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.325, allocations: 14.33 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.3255, allocations: 215.2 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3258, allocations: 0.6924 MB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.3258, allocations: 11.44 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3258, allocations: 0 / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.003758/0.3296, allocations: 1.644 MB / 1.293 GB, free: 1.93 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.441006107983412]