Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.0009574/0.0009574, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001007/0.001007, allocations: 168.7 kB / 24.87 MB, free: 9.285 MB / 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.9944/0.9944, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.815/1.815, allocations: 359 MB / 0.6063 GB, free: 10.88 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.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7883 GB, free: 11.17 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.379e-05, allocations: 5.766 kB / 0.7883 GB, free: 11.17 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002906/0.002929, allocations: 1.536 MB / 0.7898 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.00444, allocations: 0.7775 MB / 0.7905 GB, free: 8.852 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.00451, allocations: 3.938 kB / 0.7905 GB, free: 8.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.004545, allocations: 3.938 kB / 0.7905 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.004618, allocations: 21.41 kB / 0.7906 GB, free: 8.824 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.005363, allocations: 143.4 kB / 0.7907 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.005505, allocations: 76.55 kB / 0.7908 GB, free: 8.609 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.005597, allocations: 12.17 kB / 0.7908 GB, free: 8.598 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.005759, allocations: 52.41 kB / 0.7908 GB, free: 8.547 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.005843, allocations: 41.25 kB / 0.7909 GB, free: 8.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.005864, allocations: 4 kB / 0.7909 GB, free: 8.504 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.006153, allocations: 143.6 kB / 0.791 GB, free: 8.363 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.006179, allocations: 11.98 kB / 0.791 GB, free: 8.352 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.006219, allocations: 30.91 kB / 0.7911 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.006486, allocations: 151.5 kB / 0.7912 GB, free: 8.176 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006488, allocations: 0 / 0.7912 GB, free: 8.176 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006489, allocations: 0 / 0.7912 GB, free: 8.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.006493, allocations: 0 / 0.7912 GB, free: 8.176 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.0006606/0.007153, allocations: 441.5 kB / 0.7916 GB, free: 7.703 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.007187, allocations: 8.031 kB / 0.7916 GB, free: 7.695 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.007378, allocations: 38.08 kB / 0.7917 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.007509, allocations: 133 kB / 0.7918 GB, free: 7.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.007527, allocations: 8.312 kB / 0.7918 GB, free: 7.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.007537, allocations: 9.453 kB / 0.7918 GB, free: 7.488 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.981e-05/0.007637, allocations: 66.92 kB / 0.7919 GB, free: 7.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.007645, allocations: 4.188 kB / 0.7919 GB, free: 7.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.007654, allocations: 4.688 kB / 0.7919 GB, free: 7.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.007659, allocations: 5.766 kB / 0.7919 GB, free: 7.402 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.007682, allocations: 8 kB / 0.7919 GB, free: 7.395 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.008002, allocations: 284.4 kB / 0.7922 GB, free: 7.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.008053, allocations: 40.52 kB / 0.7922 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.008075, allocations: 19.67 kB / 0.7922 GB, free: 7.016 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.008087, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/0.00815, allocations: 70.89 kB / 0.7923 GB, free: 6.934 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.008151, allocations: 0 / 0.7923 GB, free: 6.934 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001751/0.008326, allocations: 101.5 kB / 0.7924 GB, free: 6.828 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.008354, allocations: 55.41 kB / 0.7924 GB, free: 6.762 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.008425, allocations: 177.9 kB / 0.7926 GB, free: 6.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.008437, allocations: 32.02 kB / 0.7926 GB, free: 6.535 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.008484, allocations: 138.8 kB / 0.7928 GB, free: 6.395 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.008499, allocations: 15.89 kB / 0.7928 GB, free: 6.379 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.008535, allocations: 35.34 kB / 0.7928 GB, free: 6.336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.008639, allocations: 0.4923 MB / 0.7933 GB, free: 5.832 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.008656, allocations: 4 kB / 0.7933 GB, free: 5.828 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.008693, allocations: 43.58 kB / 0.7933 GB, free: 5.773 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.493e-05/0.008748, allocations: 56 kB / 0.7934 GB, free: 5.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00875, allocations: 0.5312 kB / 0.7934 GB, free: 5.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.502e-05/0.008845, allocations: 91.08 kB / 0.7935 GB, free: 5.613 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008857, allocations: 8 kB / 0.7935 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.008861, allocations: 0 / 0.7935 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.008869, allocations: 4.562 kB / 0.7935 GB, free: 5.602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.00893, allocations: 19.92 kB / 0.7935 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.008933, allocations: 0.7188 kB / 0.7935 GB, free: 5.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.008965, allocations: 11.95 kB / 0.7935 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.008975, allocations: 4.656 kB / 0.7935 GB, free: 5.566 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 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.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 7.22e-05/0.009047, allocations: 161.9 kB / 0.7937 GB, free: 5.398 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.00906, allocations: 11.89 kB / 0.7937 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.009088, allocations: 13.8 kB / 0.7937 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.00909, allocations: 0 / 0.7937 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.009092, allocations: 4 kB / 0.7937 GB, free: 5.371 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009095, allocations: 0 / 0.7937 GB, free: 5.371 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.009319, allocations: 331 kB / 0.794 GB, free: 5.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.009321, allocations: 3.984 kB / 0.794 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.009339, allocations: 4 kB / 0.794 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009341, allocations: 0.6562 kB / 0.794 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.009346, allocations: 0 / 0.794 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.009347, allocations: 4.688 kB / 0.794 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009348, allocations: 0 / 0.794 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.009472, allocations: 244.6 kB / 0.7943 GB, free: 4.746 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.00948, allocations: 7.953 kB / 0.7943 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.009492, allocations: 5.875 kB / 0.7943 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.00953, allocations: 0 / 0.7943 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.009556, allocations: 7.984 kB / 0.7943 GB, free: 4.727 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.009561, allocations: 0 / 0.7943 GB, free: 4.727 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.009605, allocations: 137.9 kB / 0.7944 GB, free: 4.594 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009605, allocations: 4.75 kB / 0.7944 GB, free: 4.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001979/0.009803, allocations: 39.92 kB / 0.7945 GB, free: 4.551 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.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.0002564/0.01006, allocations: 179.9 kB / 0.7946 GB, free: 4.387 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.01016, allocations: 49.53 kB / 0.7947 GB, free: 4.336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01016, allocations: 0 / 0.7947 GB, free: 4.336 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.0102, allocations: 24.06 kB / 0.7947 GB, free: 4.309 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.01038, allocations: 20.09 kB / 0.7947 GB, free: 4.289 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.01084, allocations: 184.6 kB / 0.7949 GB, free: 4.078 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.01088, allocations: 64.44 kB / 0.795 GB, free: 3.996 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.0109, allocations: 4.656 kB / 0.795 GB, free: 3.992 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.01095, allocations: 74.19 kB / 0.795 GB, free: 3.918 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/0.01095, allocations: 0.8438 kB / 0.795 GB, free: 3.918 MB / 0.698 GB Notification: Performance of Templates: time 0.003162/0.01411, allocations: 1.715 MB / 0.7967 GB, free: 2.234 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.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: 5.027153469156474]