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.006208/0.006208, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001676/0.001676, allocations: 202.7 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.675/2.675, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2896, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.00243/0.2921, allocations: 1.479 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2933, allocations: 0.7284 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.2933, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2933, allocations: 3.938 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.2934, allocations: 19.8 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.2939, allocations: 127.6 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.294, allocations: 75.77 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.2941, allocations: 11.95 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.2942, allocations: 39.89 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.2943, allocations: 35.84 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2943, allocations: 4 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2945, allocations: 99.84 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.2946, allocations: 23.91 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.2946, allocations: 31.86 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.2948, allocations: 135.5 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2948, allocations: 4 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2948, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2949, allocations: 0 / 1.223 GB, free: 11.52 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.000608/0.2955, allocations: 422.6 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2955, allocations: 12.03 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.2956, allocations: 30.75 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2956, allocations: 8.891 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2957, allocations: 180.3 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2958, allocations: 8.375 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2958, allocations: 4.375 kB / 1.224 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.296, allocations: 73.7 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.296, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.296, allocations: 4 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.296, allocations: 4 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2961, allocations: 35.97 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.2967, allocations: 320.7 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.2968, allocations: 46.56 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.455e-05/0.2969, allocations: 32.95 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.297, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2972, allocations: 79.38 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.2972, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000388/0.2976, allocations: 145.6 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2976, allocations: 51.41 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2977, allocations: 133.7 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2978, allocations: 29.7 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.2978, allocations: 92.14 kB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.2978, allocations: 15.91 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.2979, allocations: 25.7 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.298, allocations: 322.8 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.2981, allocations: 27.98 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.2982, allocations: 42.56 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2984, allocations: 82.78 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2984, allocations: 0 / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002377/0.2986, allocations: 117.5 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2987, allocations: 8 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2987, allocations: 8 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2987, allocations: 0 / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.2988, allocations: 15.92 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2988, allocations: 0 / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.2989, allocations: 7.938 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2989, allocations: 4 kB / 1.225 GB, free: 8.918 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 0.0001074/0.299, allocations: 125.8 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.299, allocations: 7.953 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.2991, allocations: 12.38 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2991, allocations: 0 / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2991, allocations: 3.984 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2991, allocations: 0 / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.2995, allocations: 382.4 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2995, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.2996, allocations: 7.984 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.2996, allocations: 0 / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2996, allocations: 4 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2996, allocations: 7.938 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2996, allocations: 0 / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.2999, allocations: 211.4 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.3, allocations: 85.06 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3, allocations: 0 / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.3001, allocations: 7.938 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.3001, allocations: 11.98 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3001, allocations: 4 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.3002, allocations: 91.27 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3002, allocations: 0 / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002746/0.3005, allocations: 47.86 kB / 1.226 GB, free: 7.82 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.000809/0.3013, allocations: 0.8058 MB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3015, allocations: 80.19 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3016, allocations: 0 / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3017, allocations: 39.91 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.3019, allocations: 16.05 kB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3035, allocations: 1.49 MB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.3038, allocations: 0.6962 MB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.3038, allocations: 4 kB / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.3039, allocations: 23.42 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3039, allocations: 0 / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5639/0.8678, allocations: 2.648 MB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.37/19.24, allocations: 11.61 kB / 1.232 GB, free: 2.031 MB / 0.9825 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