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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006176/0.006176, allocations: 101.5 kB / 15.73 MB, free: 6.059 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.00157/0.00157, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.672/2.672, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 67.89 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002308/0.2652, allocations: 1.476 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2664, allocations: 0.7284 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.2664, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.2664, allocations: 3.938 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.2665, allocations: 19.8 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.267, allocations: 119.6 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2671, allocations: 75.77 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.2672, allocations: 27.92 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.2673, allocations: 27.92 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.2673, allocations: 39.83 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.2674, allocations: 8 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.2675, allocations: 95.84 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.2676, allocations: 19.92 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.2676, allocations: 31.84 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2678, allocations: 147.4 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2679, allocations: 4 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2679, allocations: 4 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2679, allocations: 0 / 1.223 GB, free: 11.53 MB / 0.9825 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.0005617/0.2684, allocations: 416.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2685, allocations: 8.031 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.2685, allocations: 34.73 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.2686, allocations: 8.891 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2687, allocations: 176.3 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.2687, allocations: 12.36 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.2687, allocations: 8.375 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2689, allocations: 77.7 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.2689, allocations: 0 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2689, allocations: 4 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2689, allocations: 3.938 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2691, allocations: 35.97 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.2696, allocations: 320.7 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2697, allocations: 46.56 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.2698, allocations: 28.97 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.2699, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.27, allocations: 83.38 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.27, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000356/0.2704, allocations: 137.6 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2704, allocations: 51.41 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.2706, allocations: 125.8 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2706, allocations: 29.7 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.2706, allocations: 88.14 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.2707, allocations: 23.89 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.2707, allocations: 29.66 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2708, allocations: 318.8 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.2709, allocations: 27.98 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.271, allocations: 50.55 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.2712, allocations: 74.53 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2712, allocations: 0 / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002253/0.2714, allocations: 109.6 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2715, allocations: 11.94 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2715, allocations: 3.938 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2715, allocations: 3.984 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.2716, allocations: 8.062 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2716, allocations: 8 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.2717, allocations: 11.92 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2717, allocations: 7.938 kB / 1.225 GB, free: 8.93 MB / 0.9825 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 8.676e-05/0.2718, allocations: 122.3 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.2718, allocations: 3.953 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.2718, allocations: 8.375 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2718, allocations: 3.984 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2718, allocations: 7.938 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2718, allocations: 0 / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.2723, allocations: 382.4 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2723, allocations: 0 / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.2723, allocations: 8 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2723, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2724, allocations: 4 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2724, allocations: 7.922 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2724, allocations: 0 / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.2726, allocations: 211.9 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.2727, allocations: 81.06 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2727, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.2728, allocations: 11.92 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.2728, allocations: 8 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.2729, allocations: 3.984 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.2729, allocations: 99.27 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2729, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002585/0.2732, allocations: 39.88 kB / 1.226 GB, free: 7.84 MB / 0.9825 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.0007713/0.274, allocations: 0.8188 MB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2742, allocations: 71.89 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2742, allocations: 0 / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.2743, allocations: 35.97 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.2745, allocations: 9.969 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.276, allocations: 1.5 MB / 1.228 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.2763, allocations: 0.6901 MB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.2764, allocations: 8 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.2764, allocations: 23.42 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2764, allocations: 0 / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.096/2.373, allocations: 2.649 MB / 1.232 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.39/24.77, allocations: 17.33 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.p,hea.samplePeriod,hea.seed,occ.startTime,occ.startValue,occ.y,time