Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001969/0.001969, allocations: 88.72 kB / 19.44 MB, free: 352 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.002583/0.002583, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.482/1.482, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.279/3.279, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.497e-05, allocations: 3.156 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003099/0.003124, allocations: 1.575 MB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.004711, allocations: 0.8686 MB / 0.88 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.004775, allocations: 3.938 kB / 0.88 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.005023, allocations: 63.61 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.005498, allocations: 144.2 kB / 0.8802 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.095e-05/0.005539, allocations: 12.91 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.00606, allocations: 387.2 kB / 0.8805 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.006109, allocations: 14 kB / 0.8806 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.00647, allocations: 203.4 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.006694, allocations: 127.1 kB / 0.8809 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.006733, allocations: 12 kB / 0.8809 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.513e-05/0.006778, allocations: 16 kB / 0.8809 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.006858, allocations: 47.78 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.006997, allocations: 83.72 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.00737, allocations: 275.1 kB / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.007373, allocations: 0 / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.007374, allocations: 0 / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.007378, allocations: 0 / 0.8813 GB, free: 2.73 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.001232/0.008611, allocations: 0.5614 MB / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.008646, allocations: 13.16 kB / 0.8818 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.008737, allocations: 36.75 kB / 0.8819 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.009319, allocations: 341.4 kB / 0.8822 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.00933, allocations: 384 / 0.8822 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.009342, allocations: 384 / 0.8822 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.009524, allocations: 101.6 kB / 0.8823 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.009533, allocations: 4.188 kB / 0.8823 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.009548, allocations: 4.375 kB / 0.8823 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.009555, allocations: 3.938 kB / 0.8823 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.00967, allocations: 63.88 kB / 0.8824 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.0101, allocations: 279.8 kB / 0.8826 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.01026, allocations: 106.4 kB / 0.8827 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.01036, allocations: 63.39 kB / 0.8828 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01038, allocations: 0 / 0.8828 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.01042, allocations: 34.56 kB / 0.8828 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.01042, allocations: 7.938 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004183/0.01084, allocations: 193.2 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.01094, allocations: 136.5 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.01166, allocations: 0.5093 MB / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.01169, allocations: 29.7 kB / 0.8837 GB, free: 60 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.01187, allocations: 160.1 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.0119, allocations: 19.83 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.01195, allocations: 17.72 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.01216, allocations: 343.3 kB / 0.8842 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.01222, allocations: 35.97 kB / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.24e-05/0.01231, allocations: 63.33 kB / 0.8843 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.01249, allocations: 107.3 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01249, allocations: 0 / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002561/0.01274, allocations: 149.4 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01276, allocations: 4.125 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01276, allocations: 4 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.01278, allocations: 4 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.01289, allocations: 7.984 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.0129, allocations: 7.938 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.01305, allocations: 7.984 kB / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01306, allocations: 4 kB / 0.8846 GB, free: 15.09 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001881/0.01325, allocations: 177.7 kB / 0.8847 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.01331, allocations: 35.77 kB / 0.8848 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.01369, allocations: 187.8 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01369, allocations: 7.984 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.01371, allocations: 3.938 kB / 0.885 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.01372, allocations: 4 kB / 0.885 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.01401, allocations: 225.1 kB / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.01401, allocations: 0 / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.01411, allocations: 15.94 kB / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01412, allocations: 0 / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01413, allocations: 4 kB / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01413, allocations: 0 / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.01414, allocations: 8.109 kB / 0.8852 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.01471, allocations: 199.3 kB / 0.8854 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.01485, allocations: 63.73 kB / 0.8855 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.0149, allocations: 7.938 kB / 0.8855 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.01505, allocations: 11.98 kB / 0.8855 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.01509, allocations: 11.92 kB / 0.8855 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.01509, allocations: 0 / 0.8855 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005671/0.01566, allocations: 399 kB / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01566, allocations: 0 / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002735/0.01593, allocations: 40 kB / 0.8859 GB, free: 13.64 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.0001237/0.01606, allocations: 103.2 kB / 0.886 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.01627, allocations: 87.86 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01627, allocations: 0 / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.01635, allocations: 43.91 kB / 0.8861 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.01678, allocations: 77.98 kB / 0.8862 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.01792, allocations: 0.5745 MB / 0.8868 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.01815, allocations: 219.3 kB / 0.887 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.01829, allocations: 58.19 kB / 0.887 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.166e-05/0.01838, allocations: 24.5 kB / 0.8871 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.01838, allocations: 0 / 0.8871 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.00861/0.02699, allocations: 3.853 MB / 0.8908 GB, free: 8.648 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.29970258497633]