Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 219.3 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.657/2.657, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.22 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2922, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003153/0.2953, allocations: 1.558 MB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.2969, allocations: 0.8624 MB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.297, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.2973, allocations: 55.69 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005383/0.2978, allocations: 143.3 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.46e-05/0.2979, allocations: 11.98 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.2983, allocations: 366.2 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.2984, allocations: 12.94 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.2987, allocations: 163.3 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.2989, allocations: 139.4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.299, allocations: 16 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007134/0.2997, allocations: 0.489 MB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-05/0.2998, allocations: 43.78 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2999, allocations: 115.3 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.3016, allocations: 0.8298 MB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3016, allocations: 4 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3016, allocations: 3.938 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3016, allocations: 0 / 1.289 GB, free: 5.902 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.001532/0.3031, allocations: 0.5916 MB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3031, allocations: 8.031 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.488e-05/0.3032, allocations: 4.188 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.3032, allocations: 30.75 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.3033, allocations: 32.7 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.3038, allocations: 324.8 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3038, allocations: 384 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3038, allocations: 8.375 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.304, allocations: 104.9 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.304, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.304, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.304, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3041, allocations: 75.86 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.3045, allocations: 279.3 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3047, allocations: 114.4 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.3048, allocations: 59.41 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3048, allocations: 7.938 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3048, allocations: 34.55 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3048, allocations: 0 / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003731/0.3052, allocations: 185.3 kB / 1.291 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.3053, allocations: 132.5 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/0.3059, allocations: 0.5058 MB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3059, allocations: 29.7 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3061, allocations: 156.4 kB / 1.291 GB, free: 3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3061, allocations: 11.91 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.3062, allocations: 53.64 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3063, allocations: 346.8 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3065, allocations: 107.8 kB / 1.292 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.3067, allocations: 261.6 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3071, allocations: 251.2 kB / 1.292 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3071, allocations: 0 / 1.292 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004843/0.3076, allocations: 297.2 kB / 1.293 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3076, allocations: 8 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3076, allocations: 4 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3076, allocations: 0 / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3078, allocations: 23.98 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3078, allocations: 3.938 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.308, allocations: 27.86 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.308, allocations: 4 kB / 1.293 GB, free: 1.547 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.000179/0.3082, allocations: 187 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.3082, allocations: 35.7 kB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.3086, allocations: 187.9 kB / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3086, allocations: 0 / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.3086, allocations: 4 kB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3086, allocations: 0 / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.3089, allocations: 232.7 kB / 1.293 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3089, allocations: 3.938 kB / 1.293 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.309, allocations: 15.98 kB / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.309, allocations: 0 / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.309, allocations: 4 kB / 1.293 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.309, allocations: 0 / 1.293 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.309, allocations: 4.062 kB / 1.293 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3092, allocations: 195.4 kB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3094, allocations: 71.59 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.3094, allocations: 0 / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3096, allocations: 19.92 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.3096, allocations: 3.984 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3096, allocations: 4 kB / 1.294 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004726/0.3101, allocations: 383 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3101, allocations: 0 / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005449/0.3106, allocations: 99.94 kB / 1.294 GB, free: 48 kB / 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.005212/0.3158, allocations: 3.446 MB / 1.297 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.3163, allocations: 167.8 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3163, allocations: 0 / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.3164, allocations: 47.91 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.3168, allocations: 57.56 kB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.3215, allocations: 3.496 MB / 1.301 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.3217, allocations: 215.4 kB / 1.301 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.3218, allocations: 42.3 kB / 1.301 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.322, allocations: 87.39 kB / 1.301 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.322, allocations: 0 / 1.301 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.3577, allocations: 11.31 MB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.06, allocations: 6.406 kB / 1.312 GB, free: 13.23 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.304042460978962]