Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00686/0.00686, allocations: 101.8 kB / 15.88 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 193 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.36 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2863, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002933/0.2893, allocations: 1.54 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2906, allocations: 0.7399 MB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.2907, allocations: 4 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.2907, allocations: 3.984 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.2908, allocations: 11.88 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.2914, allocations: 99.77 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.928e-05/0.2915, allocations: 71.83 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.2916, allocations: 11.98 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.2917, allocations: 31.86 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.2917, allocations: 39.88 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2918, allocations: 8 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.292, allocations: 91.84 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.292, allocations: 15.92 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.2921, allocations: 27.86 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.2922, allocations: 100 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2923, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2923, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2923, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 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.0006214/0.2929, allocations: 425 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2929, allocations: 15.97 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.293, allocations: 8.844 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2931, allocations: 176.2 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2931, allocations: 4.375 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2932, allocations: 384 / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2934, allocations: 81.94 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2934, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2934, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2934, allocations: 7.984 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2935, allocations: 35.98 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.2942, allocations: 316.7 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2943, allocations: 54.5 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.2944, allocations: 32.97 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2944, allocations: 0 / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.2946, allocations: 79.38 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2946, allocations: 0 / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.295, allocations: 141.5 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2951, allocations: 55.41 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.2952, allocations: 125.8 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2952, allocations: 25.7 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.2952, allocations: 88.14 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2953, allocations: 23.73 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.2953, allocations: 29.7 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2954, allocations: 322.7 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.2955, allocations: 23.98 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.2956, allocations: 50.55 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.2958, allocations: 74.8 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2958, allocations: 0 / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/0.2961, allocations: 121.5 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2961, allocations: 9.859 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2961, allocations: 4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2961, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2962, allocations: 8 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2962, allocations: 3.938 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.2963, allocations: 15.89 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2963, allocations: 4 kB / 1.058 GB, free: 2.941 MB / 0.8106 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 9.552e-05/0.2964, allocations: 121.8 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.2965, allocations: 4 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.2965, allocations: 16.36 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2965, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2965, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2965, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.297, allocations: 382.3 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.297, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.2971, allocations: 8 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2971, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2971, allocations: 7.984 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2971, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2971, allocations: 3.938 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.2974, allocations: 207.4 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.2974, allocations: 81.11 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.2975, allocations: 11.92 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.2976, allocations: 7.938 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.2976, allocations: 15.86 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2976, allocations: 8 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.2977, allocations: 91.27 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2977, allocations: 0 / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00032/0.298, allocations: 36 kB / 1.059 GB, free: 1.859 MB / 0.8106 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.0003153/0.2983, allocations: 162.2 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.2986, allocations: 71.89 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2986, allocations: 0 / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.2987, allocations: 31.98 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.299, allocations: 12.11 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.2994, allocations: 234.7 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.2997, allocations: 0.6887 MB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.2997, allocations: 11.44 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.2997, allocations: 4 kB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of Templates: time 0.003359/0.3031, allocations: 1.614 MB / 1.061 GB, free: 14.99 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches