Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 116.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 59.89 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2848, allocations: 160.8 MB / 1.214 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002914/0.2877, allocations: 1.483 MB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2891, allocations: 0.7486 MB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.2891, allocations: 0 / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2892, allocations: 3.938 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.107e-05/0.2892, allocations: 11.86 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.2898, allocations: 123.6 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.2899, allocations: 71.78 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.29, allocations: 15.92 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.2901, allocations: 35.84 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.2902, allocations: 35.89 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2902, allocations: 12 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.2905, allocations: 107.8 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.2905, allocations: 15.91 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.2905, allocations: 31.86 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.2908, allocations: 143.5 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2908, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2908, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2908, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 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.0006942/0.2915, allocations: 432.6 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2915, allocations: 8.031 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.2916, allocations: 12.89 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.2917, allocations: 172.3 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.2918, allocations: 12.36 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2918, allocations: 4.375 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.292, allocations: 77.89 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.292, allocations: 4 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.292, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.292, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.2922, allocations: 35.98 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.2928, allocations: 312.8 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2929, allocations: 46.5 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.293, allocations: 32.97 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.293, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.2932, allocations: 75.38 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2932, allocations: 0 / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004129/0.2936, allocations: 141.6 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.2937, allocations: 63.39 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2938, allocations: 121.8 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2938, allocations: 29.7 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.2939, allocations: 88.12 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2939, allocations: 19.84 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.294, allocations: 33.64 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2941, allocations: 322.8 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.2942, allocations: 23.97 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2943, allocations: 51 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2945, allocations: 70.48 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2945, allocations: 4 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002552/0.2947, allocations: 117.9 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2947, allocations: 11.94 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2947, allocations: 80 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2947, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.2948, allocations: 15.98 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2948, allocations: 3.984 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.2949, allocations: 8 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2949, allocations: 4 kB / 1.219 GB, free: 11.56 MB / 0.9669 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.0001071/0.295, allocations: 125.8 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.2951, allocations: 7.953 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.2951, allocations: 12.36 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2951, allocations: 3.984 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2951, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2951, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.2956, allocations: 382.4 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2956, allocations: 0 / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.2957, allocations: 7.938 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2957, allocations: 4 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2957, allocations: 7.984 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2957, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2957, allocations: 7.938 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.296, allocations: 207.4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.296, allocations: 81.06 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.2961, allocations: 7.984 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.2962, allocations: 8 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2962, allocations: 11.92 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.2962, allocations: 0 / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.2963, allocations: 99.42 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2963, allocations: 0 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003101/0.2966, allocations: 35.94 kB / 1.22 GB, free: 10.47 MB / 0.9669 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.0003818/0.297, allocations: 166.4 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.2972, allocations: 63.95 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2972, allocations: 0 / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.2973, allocations: 35.92 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.2976, allocations: 11.98 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.298, allocations: 214.6 kB / 1.22 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2983, allocations: 0.6885 MB / 1.221 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.2984, allocations: 11.44 kB / 1.221 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.2984, allocations: 3.938 kB / 1.221 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.003913/0.3023, allocations: 1.622 MB / 1.223 GB, free: 7.609 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.774836788885295]