Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_10_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.001672/0.001672, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.449/2.449, allocations: 437.1 MB / 0.7106 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2711, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002508/0.2737, allocations: 1.478 MB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2749, allocations: 0.7323 MB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.275, allocations: 4 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.275, allocations: 3.938 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.2751, allocations: 15.84 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.2756, allocations: 123.6 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2757, allocations: 71.72 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.2758, allocations: 19.98 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.2759, allocations: 31.91 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.276, allocations: 35.84 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.276, allocations: 8 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.2762, allocations: 103.8 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.2763, allocations: 15.97 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.2763, allocations: 31.86 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2766, allocations: 143.8 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2766, allocations: 0 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2766, allocations: 3.938 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2766, allocations: 0 / 1.169 GB, free: 4.488 MB / 0.92 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.0006204/0.2772, allocations: 424.7 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2773, allocations: 8.031 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.2773, allocations: 42.73 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.2773, allocations: 8.891 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2775, allocations: 176.2 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2775, allocations: 384 / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.2775, allocations: 4.375 kB / 1.17 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2777, allocations: 81.77 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2777, allocations: 0 / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2778, allocations: 0 / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2778, allocations: 3.984 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2779, allocations: 31.98 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.2785, allocations: 320.7 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2786, allocations: 46.56 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.2787, allocations: 36.97 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2787, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.2789, allocations: 79.38 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 3.176e-06/0.2789, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003851/0.2793, allocations: 145.5 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2794, allocations: 59.41 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2795, allocations: 125.8 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2795, allocations: 29.64 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.2796, allocations: 92.09 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.2796, allocations: 19.83 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.2797, allocations: 29.7 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2798, allocations: 326.8 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.2799, allocations: 19.98 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.392e-05/0.28, allocations: 50.55 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2802, allocations: 78.48 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2802, allocations: 0 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002561/0.2804, allocations: 113.5 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2805, allocations: 7.984 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2805, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2805, allocations: 4 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.2806, allocations: 15.94 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2806, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.2807, allocations: 12.05 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2807, allocations: 8 kB / 1.171 GB, free: 1.879 MB / 0.92 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.791e-05/0.2808, allocations: 117.8 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.2808, allocations: 7.953 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.2808, allocations: 16.34 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2808, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2809, allocations: 4 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2809, allocations: 0 / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.2814, allocations: 382.8 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2814, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.2814, allocations: 4 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2814, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.2815, allocations: 11.92 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2815, allocations: 4.016 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2815, allocations: 3.984 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.2818, allocations: 211.4 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.2819, allocations: 85 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2819, allocations: 7.984 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.282, allocations: 7.938 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.282, allocations: 4 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.282, allocations: 7.984 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.2821, allocations: 91.27 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2821, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002758/0.2824, allocations: 35.94 kB / 1.172 GB, free: 0.7969 MB / 0.92 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.0008657/0.2833, allocations: 0.8019 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.2835, allocations: 71.86 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2835, allocations: 0 / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.2836, allocations: 43.89 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2839, allocations: 13.97 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.2856, allocations: 1.486 MB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.286, allocations: 0.6923 MB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.2861, allocations: 3.984 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.2861, allocations: 23.44 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2861, allocations: 0 / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.302/1.588, allocations: 2.656 MB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.902/10.49, allocations: 8.891 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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