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.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.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.001628/0.001628, allocations: 108 kB / 15.61 MB, free: 152 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.001726/0.001726, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.692/2.692, allocations: 469.8 MB / 0.7424 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 67.5 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2908, allocations: 159.1 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002733/0.2936, allocations: 1.477 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2949, allocations: 0.7418 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.295, allocations: 4 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.295, allocations: 7.922 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.2951, allocations: 7.875 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.2958, allocations: 123.6 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.2959, allocations: 79.83 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.296, allocations: 7.984 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.2961, allocations: 31.86 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.2962, allocations: 43.83 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.2962, allocations: 8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2965, allocations: 95.91 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.2965, allocations: 19.91 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.2966, allocations: 31.86 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.2968, allocations: 143.8 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2969, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2969, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2969, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 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.0006484/0.2975, allocations: 417 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2976, allocations: 8.031 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.2976, allocations: 42.73 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.2977, allocations: 12.84 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2978, allocations: 172.2 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2979, allocations: 4.375 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2979, allocations: 8.375 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2981, allocations: 77.7 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2981, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2981, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2981, allocations: 3.938 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.2983, allocations: 39.97 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.2989, allocations: 316.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.299, allocations: 46.5 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/0.2991, allocations: 40.97 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2992, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.2994, allocations: 79.44 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2994, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004136/0.2998, allocations: 133.5 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.2999, allocations: 59.34 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3, allocations: 129.8 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3, allocations: 25.7 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.3001, allocations: 92.05 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3001, allocations: 19.73 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.3002, allocations: 29.7 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3003, allocations: 322.8 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.3004, allocations: 23.98 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.3005, allocations: 54.55 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3007, allocations: 78.47 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3007, allocations: 0 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/0.3009, allocations: 105.6 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3009, allocations: 4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3009, allocations: 3.984 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.301, allocations: 4 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.301, allocations: 12 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3011, allocations: 3.938 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.3011, allocations: 11.89 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3011, allocations: 4 kB / 1.069 GB, free: 8.73 MB / 0.8262 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.514e-05/0.3012, allocations: 126.8 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.3013, allocations: 11.89 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.3013, allocations: 12.36 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3013, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3013, allocations: 8 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3013, allocations: 0 / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.3018, allocations: 382.4 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3018, allocations: 0 / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.3018, allocations: 11.94 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3018, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3019, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.3019, allocations: 7.922 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3019, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.3021, allocations: 203.9 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.3022, allocations: 81.02 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3022, allocations: 8 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3023, allocations: 11.92 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3024, allocations: 4 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3024, allocations: 7.984 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.3024, allocations: 91.27 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3024, allocations: 0 / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002756/0.3027, allocations: 36 kB / 1.07 GB, free: 7.648 MB / 0.8262 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.0008286/0.3036, allocations: 0.8138 MB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3038, allocations: 63.91 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3038, allocations: 8.125 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.3039, allocations: 39.97 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3041, allocations: 3.938 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.3057, allocations: 1.491 MB / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.306, allocations: 0.6883 MB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.306, allocations: 7.984 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.3061, allocations: 23.44 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3061, allocations: 0 / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8591/1.165, allocations: 2.625 MB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.84, allocations: 6.844 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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