Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_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.008859/0.008859, allocations: 105.6 kB / 15.74 MB, free: 6.035 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.00198/0.00198, allocations: 195.6 kB / 16.67 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.564/2.564, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 71.83 kB / 1.054 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3131, allocations: 157.4 MB / 1.207 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002629/0.3158, allocations: 1.581 MB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3172, allocations: 0.9155 MB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.3173, allocations: 3.938 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3176, allocations: 71.64 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.3181, allocations: 151.3 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-05/0.3182, allocations: 7.984 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.3186, allocations: 362.3 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.3187, allocations: 52.7 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.3189, allocations: 139.4 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.3192, allocations: 147.3 kB / 1.211 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.3192, allocations: 16 kB / 1.211 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.322, allocations: 0.559 MB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.3221, allocations: 51.77 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3223, allocations: 139.2 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.3341, allocations: 13.23 MB / 1.224 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3341, allocations: 0 / 1.224 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.31e-06/0.3341, allocations: 0 / 1.224 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.3342, allocations: 3.938 kB / 1.224 GB, free: 8.766 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001745/0.3359, allocations: 0.6498 MB / 1.225 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.336, allocations: 8.625 kB / 1.225 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.336, allocations: 34.75 kB / 1.225 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.3361, allocations: 36.47 kB / 1.225 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.3367, allocations: 382.3 kB / 1.225 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3367, allocations: 384 / 1.225 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3367, allocations: 4.375 kB / 1.225 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3369, allocations: 105.1 kB / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3369, allocations: 0 / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3369, allocations: 0 / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3369, allocations: 7.938 kB / 1.225 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.337, allocations: 67.86 kB / 1.225 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.3374, allocations: 348.1 kB / 1.226 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3375, allocations: 106.4 kB / 1.226 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.3376, allocations: 59.45 kB / 1.226 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3376, allocations: 8 kB / 1.226 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3377, allocations: 38.44 kB / 1.226 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3377, allocations: 0 / 1.226 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003492/0.338, allocations: 189 kB / 1.226 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.3381, allocations: 136.5 kB / 1.226 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.3387, allocations: 0.4976 MB / 1.227 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.3387, allocations: 25.7 kB / 1.227 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3388, allocations: 160.3 kB / 1.227 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3388, allocations: 16.25 kB / 1.227 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.3389, allocations: 53.69 kB / 1.227 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.339, allocations: 342.8 kB / 1.227 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3392, allocations: 99.88 kB / 1.227 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.3393, allocations: 164 kB / 1.228 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.3396, allocations: 235.2 kB / 1.228 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3396, allocations: 4 kB / 1.228 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003984/0.34, allocations: 301 kB / 1.228 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3401, allocations: 4 kB / 1.228 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3401, allocations: 0 / 1.228 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3401, allocations: 4 kB / 1.228 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3403, allocations: 19.98 kB / 1.228 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3403, allocations: 0 / 1.228 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3404, allocations: 23.83 kB / 1.228 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3405, allocations: 11.92 kB / 1.228 GB, free: 4.34 MB / 0.9825 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.0001515/0.3406, allocations: 181.7 kB / 1.228 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.3407, allocations: 31.8 kB / 1.228 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.341, allocations: 187.7 kB / 1.229 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.341, allocations: 0 / 1.229 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.341, allocations: 4 kB / 1.229 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.341, allocations: 128 / 1.229 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3413, allocations: 297.4 kB / 1.229 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3413, allocations: 3.938 kB / 1.229 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.3414, allocations: 19.92 kB / 1.229 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3414, allocations: 0 / 1.229 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3414, allocations: 4 kB / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3414, allocations: 0 / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3414, allocations: 0 / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.3417, allocations: 199.1 kB / 1.229 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3418, allocations: 128.6 kB / 1.229 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3419, allocations: 8 kB / 1.229 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.342, allocations: 7.984 kB / 1.229 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3421, allocations: 4 kB / 1.229 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3421, allocations: 4 kB / 1.229 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004003/0.3425, allocations: 387 kB / 1.23 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3425, allocations: 0 / 1.23 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004885/0.343, allocations: 99.98 kB / 1.23 GB, free: 2.691 MB / 0.9825 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.004472/0.3475, allocations: 3.438 MB / 1.233 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3478, allocations: 167.8 kB / 1.233 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3478, allocations: 0 / 1.233 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/0.3479, allocations: 55.89 kB / 1.233 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3483, allocations: 57.61 kB / 1.233 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.3522, allocations: 3.475 MB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.3525, allocations: 0.8182 MB / 1.238 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.3527, allocations: 54.22 kB / 1.238 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.3528, allocations: 79.41 kB / 1.238 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3528, allocations: 0 / 1.238 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6266/0.9794, allocations: 10.84 MB / 1.248 GB, free: 39.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.838, allocations: 6.469 kB / 1.248 GB, free: 39.89 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches