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.001151/0.001151, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001605/0.001605, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.946/0.946, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.737/1.737, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7875 GB, free: 11.12 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.726e-05, allocations: 4.984 kB / 0.7875 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.005281/0.005308, allocations: 1.523 MB / 0.789 GB, free: 9.594 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.006364, allocations: 0.7815 MB / 0.7898 GB, free: 8.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.313e-05/0.006427, allocations: 4 kB / 0.7898 GB, free: 8.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.006453, allocations: 5.25 kB / 0.7898 GB, free: 8.801 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.0065, allocations: 11.86 kB / 0.7898 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.007036, allocations: 152.7 kB / 0.7899 GB, free: 8.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.007141, allocations: 79.77 kB / 0.79 GB, free: 8.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.007219, allocations: 8.172 kB / 0.79 GB, free: 8.555 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.007342, allocations: 60.53 kB / 0.7901 GB, free: 8.496 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.007397, allocations: 31.89 kB / 0.7901 GB, free: 8.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.007414, allocations: 8.906 kB / 0.7901 GB, free: 8.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.007617, allocations: 135.7 kB / 0.7902 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.007639, allocations: 22.03 kB / 0.7903 GB, free: 8.305 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.007671, allocations: 23.92 kB / 0.7903 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.007865, allocations: 151.5 kB / 0.7904 GB, free: 8.133 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.00787, allocations: 3.984 kB / 0.7904 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.007872, allocations: 0 / 0.7904 GB, free: 8.129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.007875, allocations: 0 / 0.7904 GB, free: 8.129 MB / 0.698 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.000459/0.008334, allocations: 451 kB / 0.7909 GB, free: 7.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.008373, allocations: 12.03 kB / 0.7909 GB, free: 7.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.008569, allocations: 33.92 kB / 0.7909 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.008697, allocations: 128.5 kB / 0.791 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.008715, allocations: 5.438 kB / 0.791 GB, free: 7.449 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.008727, allocations: 12.36 kB / 0.791 GB, free: 7.438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.008832, allocations: 64.48 kB / 0.7911 GB, free: 7.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.008838, allocations: 4.125 kB / 0.7911 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.008847, allocations: 8.125 kB / 0.7911 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.008853, allocations: 7.938 kB / 0.7911 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.008875, allocations: 7.984 kB / 0.7911 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.009186, allocations: 286.2 kB / 0.7914 GB, free: 7.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.987e-05/0.009236, allocations: 35.05 kB / 0.7914 GB, free: 6.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.009257, allocations: 21.97 kB / 0.7915 GB, free: 6.965 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.009275, allocations: 128 / 0.7915 GB, free: 6.965 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.999e-05/0.009355, allocations: 80.94 kB / 0.7915 GB, free: 6.871 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.009356, allocations: 0 / 0.7915 GB, free: 6.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001683/0.009524, allocations: 89.62 kB / 0.7916 GB, free: 6.777 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.009553, allocations: 55.34 kB / 0.7917 GB, free: 6.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.009631, allocations: 186.5 kB / 0.7919 GB, free: 6.512 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.009644, allocations: 25.7 kB / 0.7919 GB, free: 6.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.009692, allocations: 144.5 kB / 0.792 GB, free: 6.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.009709, allocations: 19.84 kB / 0.792 GB, free: 6.316 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.009747, allocations: 35.34 kB / 0.7921 GB, free: 6.273 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002597/0.01001, allocations: 496.1 kB / 0.7925 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.01003, allocations: 12.77 kB / 0.7926 GB, free: 5.766 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.01006, allocations: 38.98 kB / 0.7926 GB, free: 5.715 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.01012, allocations: 61.19 kB / 0.7927 GB, free: 5.645 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01012, allocations: 0 / 0.7927 GB, free: 5.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000104/0.01022, allocations: 85.52 kB / 0.7927 GB, free: 5.555 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01024, allocations: 6.312 kB / 0.7927 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01025, allocations: 0 / 0.7927 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.01026, allocations: 4 kB / 0.7927 GB, free: 5.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.01032, allocations: 11.98 kB / 0.7928 GB, free: 5.535 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01033, allocations: 4 kB / 0.7928 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.01036, allocations: 15.94 kB / 0.7928 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01037, allocations: 0.7188 kB / 0.7928 GB, free: 5.516 MB / 0.698 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 8.067e-05/0.01045, allocations: 169 kB / 0.7929 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.01046, allocations: 17.55 kB / 0.793 GB, free: 5.324 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.01049, allocations: 8.438 kB / 0.793 GB, free: 5.316 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01049, allocations: 0 / 0.793 GB, free: 5.316 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01049, allocations: 0 / 0.793 GB, free: 5.316 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.0105, allocations: 3.984 kB / 0.793 GB, free: 5.312 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.01075, allocations: 322.6 kB / 0.7933 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01075, allocations: 1.312 kB / 0.7933 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.01077, allocations: 7.938 kB / 0.7933 GB, free: 4.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01077, allocations: 3.984 kB / 0.7933 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.01078, allocations: 0 / 0.7933 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.01078, allocations: 1.156 kB / 0.7933 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.01078, allocations: 0 / 0.7933 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.01092, allocations: 243.8 kB / 0.7935 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.01093, allocations: 9.266 kB / 0.7935 GB, free: 4.688 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.01095, allocations: 3.984 kB / 0.7935 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.01098, allocations: 4 kB / 0.7935 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.01101, allocations: 7.984 kB / 0.7935 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.01102, allocations: 5.75 kB / 0.7935 GB, free: 4.668 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.01106, allocations: 142.7 kB / 0.7937 GB, free: 4.531 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01106, allocations: 0 / 0.7937 GB, free: 4.531 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002035/0.01127, allocations: 35.94 kB / 0.7937 GB, free: 4.496 MB / 0.698 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.0002721/0.01154, allocations: 192.9 kB / 0.7939 GB, free: 4.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.01163, allocations: 39.67 kB / 0.7939 GB, free: 4.277 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01163, allocations: 0.6875 kB / 0.7939 GB, free: 4.277 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.01166, allocations: 35.53 kB / 0.794 GB, free: 4.238 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.01184, allocations: 12.8 kB / 0.794 GB, free: 4.227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.01228, allocations: 184.3 kB / 0.7942 GB, free: 4.016 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.01231, allocations: 60.34 kB / 0.7942 GB, free: 3.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.01234, allocations: 7.344 kB / 0.7942 GB, free: 3.934 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.01239, allocations: 74.2 kB / 0.7943 GB, free: 3.859 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.01239, allocations: 0 / 0.7943 GB, free: 3.859 MB / 0.698 GB Notification: Performance of Templates: time 0.002975/0.01536, allocations: 1.687 MB / 0.7959 GB, free: 2.207 MB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.755381200928241]