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.001895/0.001895, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002432/0.002432, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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 3.192/3.192, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.731e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002929/0.002956, allocations: 1.59 MB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.004832, allocations: 0.8652 MB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.004904, allocations: 4 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.005168, allocations: 63.2 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005089/0.005677, allocations: 143.2 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.897e-05/0.005716, allocations: 7.938 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.006247, allocations: 378.1 kB / 0.8805 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.0063, allocations: 12.94 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.006684, allocations: 212 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.006913, allocations: 128.3 kB / 0.8809 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.006951, allocations: 12.66 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.007661, allocations: 481.8 kB / 0.8813 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.007753, allocations: 59.75 kB / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.007887, allocations: 83.72 kB / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.009515, allocations: 0.9061 MB / 0.8824 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.009517, allocations: 0 / 0.8824 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.243e-06/0.009519, allocations: 0 / 0.8824 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.009524, allocations: 0 / 0.8824 GB, free: 1.602 MB / 0.8386 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.00156/0.01108, allocations: 0.5938 MB / 0.8829 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.01112, allocations: 8.031 kB / 0.8829 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.01122, allocations: 32.75 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.01181, allocations: 320.1 kB / 0.8833 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.01183, allocations: 12.31 kB / 0.8833 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.01185, allocations: 4.375 kB / 0.8833 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.01205, allocations: 105.6 kB / 0.8834 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01206, allocations: 192 / 0.8834 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.01207, allocations: 384 / 0.8834 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01208, allocations: 3.938 kB / 0.8834 GB, free: 472 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.0122, allocations: 63.88 kB / 0.8835 GB, free: 408 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.01262, allocations: 263.8 kB / 0.8837 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.0128, allocations: 110.4 kB / 0.8838 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.01291, allocations: 67.39 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.01293, allocations: 0 / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.01297, allocations: 34.56 kB / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.01297, allocations: 0 / 0.8839 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0004297/0.0134, allocations: 185.3 kB / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.01351, allocations: 136.5 kB / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.01423, allocations: 0.5091 MB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.01425, allocations: 25.7 kB / 0.8847 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01441, allocations: 160.9 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.01444, allocations: 23.83 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.01453, allocations: 45.7 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.01474, allocations: 342.8 kB / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.0149, allocations: 99.92 kB / 0.8854 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.01519, allocations: 262.3 kB / 0.8856 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.01558, allocations: 247.2 kB / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01558, allocations: 0 / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005047/0.01608, allocations: 301.3 kB / 0.8862 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.0161, allocations: 7.984 kB / 0.8862 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.01611, allocations: 0 / 0.8862 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.01613, allocations: 4 kB / 0.8862 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01627, allocations: 23.92 kB / 0.8862 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.01628, allocations: 3.938 kB / 0.8862 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.01647, allocations: 27.83 kB / 0.8862 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.01649, allocations: 4 kB / 0.8862 GB, free: 13.33 MB / 0.8542 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.0001992/0.01669, allocations: 177.8 kB / 0.8864 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.017, allocations: 31.81 kB / 0.8864 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.0174, allocations: 183.6 kB / 0.8866 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01741, allocations: 8.125 kB / 0.8866 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.01741, allocations: 3.938 kB / 0.8866 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01742, allocations: 0 / 0.8866 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.01771, allocations: 213.2 kB / 0.8868 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01771, allocations: 3.984 kB / 0.8868 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.439e-05/0.0178, allocations: 12 kB / 0.8868 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.01781, allocations: 4 kB / 0.8868 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.01782, allocations: 4 kB / 0.8868 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01783, allocations: 3.938 kB / 0.8868 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.01784, allocations: 8 kB / 0.8868 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.01815, allocations: 195.3 kB / 0.887 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.0183, allocations: 59.73 kB / 0.8871 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.01836, allocations: 12.17 kB / 0.8871 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.01851, allocations: 7.984 kB / 0.8871 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.01855, allocations: 15.86 kB / 0.8871 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.01856, allocations: 7.984 kB / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005169/0.01908, allocations: 379 kB / 0.8875 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01908, allocations: 0 / 0.8875 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005212/0.0196, allocations: 99.94 kB / 0.8876 GB, free: 11.85 MB / 0.8542 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.005296/0.02489, allocations: 2.819 MB / 0.8903 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.02527, allocations: 159.8 kB / 0.8905 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02527, allocations: 0 / 0.8905 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.02536, allocations: 47.91 kB / 0.8905 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.02574, allocations: 57.81 kB / 0.8906 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.02681, allocations: 0.5856 MB / 0.8912 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.02704, allocations: 211.3 kB / 0.8914 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.02717, allocations: 45.92 kB / 0.8914 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.02726, allocations: 28.48 kB / 0.8914 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.02726, allocations: 0 / 0.8914 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of Templates: time 0.0145/0.04176, allocations: 7.924 MB / 0.8992 GB, free: 0 / 0.8542 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.483546428964473]