Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.005124/0.005124, allocations: 100.6 kB / 15.73 MB, free: 5.988 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.00116/0.00116, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.428/2.428, allocations: 437.1 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2862, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002395/0.2886, allocations: 1.589 MB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2899, allocations: 0.9112 MB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.2899, allocations: 4 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.2902, allocations: 63.64 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.2906, allocations: 155.3 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.468e-05/0.2907, allocations: 11.94 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.291, allocations: 358.3 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.2911, allocations: 48.72 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.2913, allocations: 139.4 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2915, allocations: 143.4 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.2916, allocations: 16 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.2944, allocations: 0.5591 MB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.2945, allocations: 51.7 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.2946, allocations: 147.1 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.3081, allocations: 13.23 MB / 1.183 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3081, allocations: 0 / 1.183 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3081, allocations: 4 kB / 1.183 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.3082, allocations: 0 / 1.183 GB, free: 5.852 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00137/0.3095, allocations: 0.6459 MB / 1.184 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3096, allocations: 12.03 kB / 1.184 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.3096, allocations: 34.75 kB / 1.184 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.3097, allocations: 28.56 kB / 1.184 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.3102, allocations: 386.2 kB / 1.184 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3102, allocations: 8.312 kB / 1.184 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3102, allocations: 4.375 kB / 1.184 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3104, allocations: 97.2 kB / 1.184 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3104, allocations: 0 / 1.184 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3104, allocations: 0 / 1.184 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3104, allocations: 8 kB / 1.184 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.3105, allocations: 71.86 kB / 1.184 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.3108, allocations: 336.1 kB / 1.185 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.311, allocations: 114.3 kB / 1.185 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.3111, allocations: 59.45 kB / 1.185 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3111, allocations: 7.984 kB / 1.185 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3111, allocations: 38.5 kB / 1.185 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3111, allocations: 0 / 1.185 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003233/0.3114, allocations: 189.1 kB / 1.185 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3115, allocations: 128.5 kB / 1.185 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.312, allocations: 0.5014 MB / 1.186 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.312, allocations: 29.7 kB / 1.186 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.3122, allocations: 160.3 kB / 1.186 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.3122, allocations: 7.844 kB / 1.186 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.3123, allocations: 61.97 kB / 1.186 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3124, allocations: 346.8 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3125, allocations: 95.92 kB / 1.186 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3127, allocations: 161 kB / 1.187 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3129, allocations: 231.2 kB / 1.187 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.313, allocations: 4 kB / 1.187 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003629/0.3133, allocations: 301 kB / 1.187 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3133, allocations: 4 kB / 1.187 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3134, allocations: 4 kB / 1.187 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3134, allocations: 0 / 1.187 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3135, allocations: 19.92 kB / 1.187 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3135, allocations: 4 kB / 1.187 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3137, allocations: 27.77 kB / 1.187 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3137, allocations: 7.984 kB / 1.187 GB, free: 1.43 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001425/0.3139, allocations: 173.8 kB / 1.187 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.3139, allocations: 35.56 kB / 1.187 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.3142, allocations: 187.9 kB / 1.187 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3142, allocations: 4 kB / 1.187 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3142, allocations: 0 / 1.187 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3142, allocations: 0 / 1.187 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.3145, allocations: 293.5 kB / 1.188 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3145, allocations: 4 kB / 1.188 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.3146, allocations: 19.92 kB / 1.188 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3146, allocations: 4 kB / 1.188 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3146, allocations: 0 / 1.188 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3146, allocations: 3.938 kB / 1.188 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3146, allocations: 4 kB / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.3148, allocations: 187.2 kB / 1.188 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3149, allocations: 140.6 kB / 1.188 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.315, allocations: 4 kB / 1.188 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3151, allocations: 11.98 kB / 1.188 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.3152, allocations: 7.938 kB / 1.188 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.3152, allocations: 3.984 kB / 1.188 GB, free: 264 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003713/0.3155, allocations: 375.1 kB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3156, allocations: 4 kB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004033/0.316, allocations: 104 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.004359/0.3203, allocations: 3.446 MB / 1.192 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.3206, allocations: 167.8 kB / 1.192 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3206, allocations: 0 / 1.192 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.3207, allocations: 51.89 kB / 1.192 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.321, allocations: 53.47 kB / 1.192 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.3246, allocations: 3.463 MB / 1.196 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.3249, allocations: 0.8182 MB / 1.196 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.3251, allocations: 50.28 kB / 1.196 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3252, allocations: 79.41 kB / 1.197 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of SimCode: time 1.583e-06/0.3252, allocations: 0 / 1.197 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3524, allocations: 10.73 MB / 1.207 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.086, allocations: 10.7 kB / 1.207 GB, free: 12.93 MB / 0.9669 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches