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.001089/0.001089, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001341/0.001341, allocations: 169 kB / 24.28 MB, free: 276 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.9871/0.9871, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.768/1.768, allocations: 359 MB / 0.6055 GB, free: 10.99 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 2.355e-06/2.355e-06, allocations: 0 / 0.7871 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.268e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003268/0.0033, allocations: 1.532 MB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.00501, allocations: 0.7887 MB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.005095, allocations: 0.5625 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.005127, allocations: 4.625 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.00519, allocations: 12.78 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.005852, allocations: 151.3 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.005953, allocations: 80.41 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.006041, allocations: 8.906 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.006178, allocations: 59.81 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.006224, allocations: 29.56 kB / 0.7897 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.006242, allocations: 4 kB / 0.7897 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.006437, allocations: 135.7 kB / 0.7898 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.006457, allocations: 15.97 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.006493, allocations: 21.27 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.006707, allocations: 159.4 kB / 0.79 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.00671, allocations: 4 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.006711, allocations: 0 / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.006715, allocations: 1.594 kB / 0.79 GB, free: 9.863 MB / 0.7448 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.0004686/0.007183, allocations: 445.9 kB / 0.7904 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.007218, allocations: 8.031 kB / 0.7904 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.007412, allocations: 36.34 kB / 0.7904 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.007569, allocations: 132.5 kB / 0.7906 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.00759, allocations: 8.375 kB / 0.7906 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.007602, allocations: 4.375 kB / 0.7906 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.007729, allocations: 74.91 kB / 0.7907 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.007736, allocations: 192 / 0.7907 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.007749, allocations: 8.125 kB / 0.7907 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.007755, allocations: 0.5312 kB / 0.7907 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.007793, allocations: 15.92 kB / 0.7907 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.00816, allocations: 304.9 kB / 0.791 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.008226, allocations: 39.77 kB / 0.791 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.008258, allocations: 16.78 kB / 0.791 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.008278, allocations: 11.92 kB / 0.791 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.086e-05/0.008359, allocations: 68.98 kB / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.00836, allocations: 0.5312 kB / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002265/0.008586, allocations: 107.3 kB / 0.7912 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.008619, allocations: 51.41 kB / 0.7913 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.008707, allocations: 184.5 kB / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.008721, allocations: 29.7 kB / 0.7915 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.00877, allocations: 140 kB / 0.7916 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.008788, allocations: 19.84 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.008825, allocations: 31.36 kB / 0.7916 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.008934, allocations: 0.4889 MB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.00896, allocations: 8.812 kB / 0.7921 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.009003, allocations: 43.05 kB / 0.7922 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/0.009068, allocations: 56.05 kB / 0.7922 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00907, allocations: 8.938 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001166/0.009186, allocations: 93.5 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.009198, allocations: 6.219 kB / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.009203, allocations: 0 / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.009215, allocations: 4 kB / 0.7923 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.00928, allocations: 11.98 kB / 0.7923 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.009285, allocations: 0 / 0.7923 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.009315, allocations: 7.953 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.009328, allocations: 11.03 kB / 0.7924 GB, free: 7.207 MB / 0.7448 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.699e-05/0.009405, allocations: 164.5 kB / 0.7925 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.00942, allocations: 15.88 kB / 0.7925 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.009444, allocations: 16.38 kB / 0.7925 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.009446, allocations: 0 / 0.7925 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009449, allocations: 0 / 0.7925 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009452, allocations: 0 / 0.7925 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.009706, allocations: 350.7 kB / 0.7929 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009707, allocations: 0 / 0.7929 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.009725, allocations: 3.984 kB / 0.7929 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.009727, allocations: 8.562 kB / 0.7929 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.009736, allocations: 3.984 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.009737, allocations: 0.5625 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009738, allocations: 0.875 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.009879, allocations: 247.8 kB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.009888, allocations: 11.89 kB / 0.7931 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.009902, allocations: 9.047 kB / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.009941, allocations: 0 / 0.7932 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.009976, allocations: 8.984 kB / 0.7932 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.009982, allocations: 0 / 0.7932 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.01003, allocations: 139.2 kB / 0.7933 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 1.594 kB / 0.7933 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000189/0.01021, allocations: 35.94 kB / 0.7933 GB, free: 6.148 MB / 0.7448 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.0002856/0.0105, allocations: 173.4 kB / 0.7935 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.01062, allocations: 52.86 kB / 0.7935 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01062, allocations: 0 / 0.7935 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.01066, allocations: 27.61 kB / 0.7936 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.01084, allocations: 26.45 kB / 0.7936 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.01137, allocations: 195.7 kB / 0.7938 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.01141, allocations: 59.34 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.01143, allocations: 7.938 kB / 0.7939 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.01146, allocations: 12.5 kB / 0.7939 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.01146, allocations: 0 / 0.7939 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of Templates: time 0.003084/0.01454, allocations: 1.519 MB / 0.7953 GB, free: 4.078 MB / 0.7448 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.092580884927884]