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.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.001585/0.001585, allocations: 78.88 kB / 19.76 MB, free: 2.035 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.001457/0.001457, allocations: 158.7 kB / 23.01 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.866/2.866, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [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.002199/0.002199, allocations: 59.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9156/0.9178, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002861/0.9207, allocations: 1.579 MB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.922, allocations: 0.8621 MB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.9221, allocations: 9 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.9224, allocations: 59.95 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.9229, allocations: 139.9 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.863e-05/0.923, allocations: 7.906 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.9234, allocations: 369.5 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.9235, allocations: 17 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.9238, allocations: 156.8 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.924, allocations: 154.7 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.9241, allocations: 15.47 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.9248, allocations: 477.4 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.9249, allocations: 56.11 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.9251, allocations: 107 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.9269, allocations: 0.8345 MB / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9269, allocations: 0 / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9269, allocations: 0 / 1.191 GB, free: 13.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9269, allocations: 0.9062 kB / 1.191 GB, free: 13.8 MB / 1.076 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.001643/0.9286, allocations: 0.5856 MB / 1.192 GB, free: 13.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9286, allocations: 9.812 kB / 1.192 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.9287, allocations: 34.48 kB / 1.192 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.9292, allocations: 320.4 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.9292, allocations: 2.531 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.9292, allocations: 6.047 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.9294, allocations: 101.3 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9294, allocations: 3.984 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9294, allocations: 0.9062 kB / 1.192 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.9294, allocations: 8.938 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.9295, allocations: 71.44 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.9298, allocations: 268 kB / 1.193 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.93, allocations: 106.5 kB / 1.193 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.93, allocations: 66.08 kB / 1.193 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.9301, allocations: 2.188 kB / 1.193 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.9301, allocations: 34.59 kB / 1.193 GB, free: 12.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.9301, allocations: 3.938 kB / 1.193 GB, free: 12.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003606/0.9304, allocations: 190.5 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.9305, allocations: 139 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006382/0.9311, allocations: 0.4945 MB / 1.194 GB, free: 12.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.9311, allocations: 30.8 kB / 1.194 GB, free: 12.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.9312, allocations: 157.2 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.9313, allocations: 16.58 kB / 1.194 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.9313, allocations: 52.58 kB / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.9314, allocations: 341.5 kB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.9316, allocations: 103.8 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.9318, allocations: 266.7 kB / 1.195 GB, free: 11.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.9321, allocations: 247.1 kB / 1.195 GB, free: 11.26 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9321, allocations: 1.281 kB / 1.195 GB, free: 11.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004261/0.9325, allocations: 297.2 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9326, allocations: 6.047 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.9326, allocations: 5.031 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9326, allocations: 1.625 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.9327, allocations: 20.34 kB / 1.195 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9327, allocations: 1.719 kB / 1.195 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.9329, allocations: 25.67 kB / 1.195 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.9329, allocations: 8.922 kB / 1.195 GB, free: 11.12 MB / 1.076 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.0001617/0.9331, allocations: 178.6 kB / 1.195 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.9331, allocations: 35.94 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.9335, allocations: 181.6 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.9335, allocations: 2.156 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9335, allocations: 1.25 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.9335, allocations: 1.734 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.9337, allocations: 219.6 kB / 1.196 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.9337, allocations: 1.188 kB / 1.196 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.9338, allocations: 22.2 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.9338, allocations: 1.375 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.9339, allocations: 7 kB / 1.196 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.9339, allocations: 9 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9339, allocations: 1.875 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.9341, allocations: 186.5 kB / 1.196 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.9342, allocations: 58.38 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.9343, allocations: 3.188 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.9344, allocations: 18.69 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.9345, allocations: 5.875 kB / 1.196 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.9345, allocations: 7.406 kB / 1.196 GB, free: 10.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004423/0.9349, allocations: 381.5 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9349, allocations: 0 / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001022/0.9359, allocations: 103.2 kB / 1.197 GB, free: 10.36 MB / 1.076 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.005564/0.9415, allocations: 2.809 MB / 1.199 GB, free: 9.953 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.9419, allocations: 168.4 kB / 1.199 GB, free: 9.906 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9419, allocations: 0 / 1.199 GB, free: 9.906 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.982e-05/0.942, allocations: 45.91 kB / 1.199 GB, free: 9.895 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.9425, allocations: 62.25 kB / 1.2 GB, free: 9.867 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/0.9434, allocations: 0.5956 MB / 1.2 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.9437, allocations: 214.6 kB / 1.2 GB, free: 9.434 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.9438, allocations: 44.05 kB / 1.2 GB, free: 9.434 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.9439, allocations: 31.64 kB / 1.2 GB, free: 9.418 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.9439, allocations: 3.938 kB / 1.2 GB, free: 9.414 MB / 1.076 GB Notification: Performance of Templates: time 0.01571/0.9596, allocations: 7.906 MB / 1.208 GB, free: 8.754 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.082435625023209]