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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.187/3.187, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.31 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3264, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002954/0.3293, allocations: 1.593 MB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3309, allocations: 0.919 MB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.373e-05/0.331, allocations: 0 / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3312, allocations: 67.64 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.3318, allocations: 143.3 kB / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.028e-05/0.3318, allocations: 11.92 kB / 1.307 GB, free: 14.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.3323, allocations: 362.3 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.3324, allocations: 29.03 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3326, allocations: 147.4 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3328, allocations: 135.4 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.3328, allocations: 16 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.3335, allocations: 0.5319 MB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.3336, allocations: 59.75 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3338, allocations: 135.2 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.3351, allocations: 0.8497 MB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3351, allocations: 0 / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3351, allocations: 0 / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3351, allocations: 0 / 1.309 GB, free: 12.54 MB / 1.014 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.001524/0.3366, allocations: 0.6652 MB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3367, allocations: 8.625 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.3367, allocations: 38.69 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.3368, allocations: 32.7 kB / 1.31 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.3374, allocations: 382.6 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3374, allocations: 4.375 kB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3374, allocations: 8.375 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3376, allocations: 101.1 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3376, allocations: 0 / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3376, allocations: 3.984 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3376, allocations: 0 / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3378, allocations: 67.88 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3382, allocations: 344.1 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3383, allocations: 106.4 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.3384, allocations: 59.41 kB / 1.311 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3384, allocations: 8 kB / 1.311 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3384, allocations: 38.48 kB / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3384, allocations: 0 / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003695/0.3388, allocations: 189.2 kB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.3389, allocations: 137 kB / 1.311 GB, free: 10.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.3395, allocations: 0.5014 MB / 1.311 GB, free: 9.605 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3395, allocations: 25.7 kB / 1.311 GB, free: 9.574 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3397, allocations: 152.4 kB / 1.312 GB, free: 9.418 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.3397, allocations: 19.84 kB / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.3398, allocations: 57.58 kB / 1.312 GB, free: 9.336 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3399, allocations: 338.8 kB / 1.312 GB, free: 8.996 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3401, allocations: 99.91 kB / 1.312 GB, free: 8.898 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.3403, allocations: 164.1 kB / 1.312 GB, free: 8.715 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.3406, allocations: 235.2 kB / 1.312 GB, free: 8.473 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3406, allocations: 0 / 1.312 GB, free: 8.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004453/0.341, allocations: 293.2 kB / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.341, allocations: 8 kB / 1.313 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.3411, allocations: 4 kB / 1.313 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3411, allocations: 8 kB / 1.313 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.3412, allocations: 19.98 kB / 1.313 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3412, allocations: 7.922 kB / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.3414, allocations: 19.88 kB / 1.313 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3414, allocations: 7.984 kB / 1.313 GB, free: 8.105 MB / 1.014 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.0001865/0.3416, allocations: 177.8 kB / 1.313 GB, free: 7.922 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.3417, allocations: 39.69 kB / 1.313 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.342, allocations: 183.7 kB / 1.313 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.342, allocations: 0 / 1.313 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.342, allocations: 240 / 1.313 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.342, allocations: 4 kB / 1.313 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.3423, allocations: 301.4 kB / 1.313 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3423, allocations: 3.984 kB / 1.313 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.3424, allocations: 19.92 kB / 1.313 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3424, allocations: 128 / 1.313 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3425, allocations: 8 kB / 1.313 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3425, allocations: 0 / 1.313 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3425, allocations: 3.938 kB / 1.314 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3427, allocations: 187.4 kB / 1.314 GB, free: 7.105 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.3429, allocations: 144.7 kB / 1.314 GB, free: 6.945 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.3429, allocations: 4 kB / 1.314 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3431, allocations: 7.984 kB / 1.314 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.3431, allocations: 11.98 kB / 1.314 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3431, allocations: 4 kB / 1.314 GB, free: 6.918 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004435/0.3436, allocations: 375.1 kB / 1.314 GB, free: 6.551 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3436, allocations: 3.938 kB / 1.314 GB, free: 6.547 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000518/0.3441, allocations: 107.9 kB / 1.314 GB, free: 6.441 MB / 1.014 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.005241/0.3493, allocations: 3.434 MB / 1.318 GB, free: 2.965 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004592/0.3498, allocations: 167.7 kB / 1.318 GB, free: 2.801 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3498, allocations: 0 / 1.318 GB, free: 2.801 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.3499, allocations: 43.91 kB / 1.318 GB, free: 2.758 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3503, allocations: 62 kB / 1.318 GB, free: 2.703 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.3549, allocations: 3.478 MB / 1.321 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.3553, allocations: 0.8181 MB / 1.322 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.3555, allocations: 54.28 kB / 1.322 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3556, allocations: 75.41 kB / 1.322 GB, free: 14.13 MB / 1.029 GB Notification: Performance of SimCode: time 1.352e-06/0.3556, allocations: 0 / 1.322 GB, free: 14.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.3912, allocations: 10.77 MB / 1.333 GB, free: 3.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.036, allocations: 8.109 kB / 1.333 GB, free: 3.535 MB / 1.029 GB " [Timeout remaining time 291] (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 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.67634651530534]