Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.001036/0.001036, allocations: 81.95 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.001236/0.001236, allocations: 165.6 kB / 24.87 MB, free: 8.891 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.818/1.818, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.753e-05, allocations: 6.969 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002207/0.002234, allocations: 1.528 MB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003338, allocations: 0.7808 MB / 0.7905 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.003402, allocations: 1.062 kB / 0.7905 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.003431, allocations: 7.875 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.003487, allocations: 17.42 kB / 0.7906 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.00407, allocations: 151.4 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.00419, allocations: 79.7 kB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.004274, allocations: 5.094 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.004399, allocations: 55.88 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.00445, allocations: 28.77 kB / 0.7909 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.004465, allocations: 4 kB / 0.7909 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.004698, allocations: 150.1 kB / 0.791 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.004721, allocations: 15.92 kB / 0.791 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.004755, allocations: 27.91 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.004953, allocations: 151.5 kB / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004955, allocations: 0 / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.62e-07/0.004956, allocations: 0 / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.00496, allocations: 0 / 0.7912 GB, free: 9.27 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.0004456/0.005406, allocations: 447.6 kB / 0.7916 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.005439, allocations: 8.031 kB / 0.7916 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.00564, allocations: 37.44 kB / 0.7917 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.005776, allocations: 129.8 kB / 0.7918 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.005795, allocations: 8.375 kB / 0.7918 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.005806, allocations: 4.375 kB / 0.7918 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.005917, allocations: 71.45 kB / 0.7919 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005925, allocations: 4.188 kB / 0.7919 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.005935, allocations: 4.906 kB / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.00594, allocations: 0 / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.005966, allocations: 13.14 kB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.006304, allocations: 281.8 kB / 0.7922 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.00636, allocations: 38.98 kB / 0.7922 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.00638, allocations: 19.81 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.006394, allocations: 1.75 kB / 0.7922 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.806e-05/0.006472, allocations: 68.97 kB / 0.7923 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006473, allocations: 0 / 0.7923 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001947/0.006668, allocations: 101.5 kB / 0.7924 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.006702, allocations: 59.34 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.006793, allocations: 179.1 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.006805, allocations: 25.7 kB / 0.7926 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.00686, allocations: 146.8 kB / 0.7928 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.006878, allocations: 16.42 kB / 0.7928 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.006917, allocations: 37.28 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.007023, allocations: 0.4923 MB / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.007041, allocations: 4 kB / 0.7933 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.007075, allocations: 42.98 kB / 0.7933 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.007154, allocations: 61.56 kB / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007156, allocations: 0 / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001019/0.007258, allocations: 81.81 kB / 0.7935 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.007271, allocations: 8 kB / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007276, allocations: 0 / 0.7935 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.007285, allocations: 3.984 kB / 0.7935 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.007351, allocations: 20.53 kB / 0.7935 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.007354, allocations: 0.7188 kB / 0.7935 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.007393, allocations: 11.94 kB / 0.7935 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.007402, allocations: 4.531 kB / 0.7935 GB, free: 6.66 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 6.986e-05/0.007472, allocations: 166.2 kB / 0.7937 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.007486, allocations: 11.89 kB / 0.7937 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.007506, allocations: 8.438 kB / 0.7937 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.007509, allocations: 4.875 kB / 0.7937 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.007512, allocations: 3.984 kB / 0.7937 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007515, allocations: 0 / 0.7937 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.007748, allocations: 326.7 kB / 0.794 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007749, allocations: 0 / 0.794 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.007769, allocations: 17.2 kB / 0.794 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.007771, allocations: 0 / 0.794 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.007779, allocations: 4 kB / 0.794 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.00778, allocations: 0.8438 kB / 0.7941 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007781, allocations: 0 / 0.7941 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.007907, allocations: 235.8 kB / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.007916, allocations: 13.16 kB / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.007926, allocations: 0 / 0.7943 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.007966, allocations: 4 kB / 0.7943 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.007996, allocations: 13.23 kB / 0.7943 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.008001, allocations: 0 / 0.7943 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.008039, allocations: 136.8 kB / 0.7944 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008039, allocations: 5.688 kB / 0.7944 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002117/0.008251, allocations: 35.94 kB / 0.7945 GB, free: 5.645 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.0004501/0.008701, allocations: 181.6 kB / 0.7946 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.008864, allocations: 39.61 kB / 0.7947 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008866, allocations: 0 / 0.7947 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.862e-05/0.008904, allocations: 23.67 kB / 0.7947 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.009112, allocations: 20.97 kB / 0.7947 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.009629, allocations: 189.9 kB / 0.7949 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.009669, allocations: 63.34 kB / 0.795 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.009696, allocations: 4 kB / 0.795 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.009748, allocations: 71.45 kB / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of SimCode: time 9.41e-07/0.009749, allocations: 0 / 0.795 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of Templates: time 0.003694/0.01344, allocations: 1.716 MB / 0.7967 GB, free: 3.32 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.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.137702447827905]