Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0008149/0.0008149, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008163/0.0008163, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.888/0.888, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.774/1.774, allocations: 377.9 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9822 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.845e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001227/0.001246, allocations: 0.5806 MB / 0.9828 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 3.857e-05/0.001284, allocations: 7.938 kB / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.001307, allocations: 0 / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.001332, allocations: 0 / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.431e-05/0.001356, allocations: 0 / 0.9828 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 2.694e-05/0.001383, allocations: 4 kB / 0.9828 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.084e-05/0.001434, allocations: 3.938 kB / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.001477, allocations: 0 / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.001504, allocations: 0 / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.001522, allocations: 7.984 kB / 0.9828 GB, free: 1.434 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.001539, allocations: 4 kB / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.086e-06/0.001542, allocations: 0 / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.001554, allocations: 0 / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.00157, allocations: 0 / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.367e-05/0.001624, allocations: 7.984 kB / 0.9829 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.001625, allocations: 0 / 0.9829 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.045e-06/0.001628, allocations: 4 kB / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.001632, allocations: 0 / 0.9829 GB, free: 1.418 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002151/0.001847, allocations: 241.1 kB / 0.9831 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.001882, allocations: 11.97 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.001905, allocations: 4.938 kB / 0.9831 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.631e-05/0.001971, allocations: 109.8 kB / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.001981, allocations: 4.375 kB / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.001987, allocations: 4.312 kB / 0.9832 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.629e-05/0.002053, allocations: 30.27 kB / 0.9832 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.00206, allocations: 192 / 0.9832 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.002067, allocations: 384 / 0.9832 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.002071, allocations: 4.375 kB / 0.9832 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/0.002085, allocations: 3.938 kB / 0.9833 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.002303, allocations: 327.2 kB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.016e-05/0.002363, allocations: 173.1 kB / 0.9837 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.002385, allocations: 92.11 kB / 0.9838 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.002406, allocations: 75.28 kB / 0.9839 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.002436, allocations: 105.8 kB / 0.984 GB, free: 144 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.002437, allocations: 0 / 0.984 GB, free: 144 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 4.825e-05/0.002485, allocations: 29.64 kB / 0.984 GB, free: 108 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.002537, allocations: 134.6 kB / 0.9841 GB, free: 15.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.002591, allocations: 93.86 kB / 0.9842 GB, free: 15.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.002597, allocations: 25.7 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.002621, allocations: 80.14 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.002623, allocations: 128 / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.002638, allocations: 21.7 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.002704, allocations: 310.8 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-06/0.002708, allocations: 0 / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-06/0.002711, allocations: 0 / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.734e-05/0.002728, allocations: 75.28 kB / 0.9847 GB, free: 15.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.002745, allocations: 79.28 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.905e-05/0.002774, allocations: 25.7 kB / 0.9848 GB, free: 15.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.002799, allocations: 83.28 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.002818, allocations: 83.16 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-05/0.002854, allocations: 150.6 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.817e-05/0.002872, allocations: 87.2 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.002903, allocations: 158.6 kB / 0.9854 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.002942, allocations: 75.28 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.002957, allocations: 79.22 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 7.228e-05/0.00303, allocations: 260.4 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.003061, allocations: 101 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.003097, allocations: 127.8 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/0.003133, allocations: 180.5 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.692e-05/0.00317, allocations: 176.3 kB / 0.9863 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.902e-05/0.003209, allocations: 188.2 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.003326, allocations: 356.8 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.003348, allocations: 108.9 kB / 0.9869 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.00337, allocations: 105 kB / 0.987 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.663e-05/0.003407, allocations: 176.3 kB / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/0.003444, allocations: 180.2 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.518e-05/0.003479, allocations: 184.2 kB / 0.9876 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-05/0.003518, allocations: 192.1 kB / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.908e-05/0.003597, allocations: 303.8 kB / 0.988 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.003623, allocations: 105 kB / 0.9881 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.003668, allocations: 180.2 kB / 0.9883 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/0.003712, allocations: 116.9 kB / 0.9884 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.003757, allocations: 184.3 kB / 0.9886 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.003779, allocations: 104.9 kB / 0.9887 GB, free: 11.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.332e-05/0.003802, allocations: 79.28 kB / 0.9888 GB, free: 10.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.003802, allocations: 0 / 0.9888 GB, free: 10.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001551/0.003957, allocations: 0 / 0.9888 GB, free: 10.99 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 8.271e-05/0.00404, allocations: 175 kB / 0.9889 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 3.133e-05/0.004071, allocations: 0 / 0.9889 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004073, allocations: 0 / 0.9889 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.004074, allocations: 96 / 0.9889 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.004299, allocations: 459.7 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.004604, allocations: 185.7 kB / 0.9895 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.313e-05/0.004637, allocations: 55.36 kB / 0.9896 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.004647, allocations: 8.5 kB / 0.9896 GB, free: 10.06 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/0.004648, allocations: 0 / 0.9896 GB, free: 10.06 MB / 0.948 GB Notification: Performance of Templates: time 0.0009182/0.005566, allocations: 323.9 kB / 0.9899 GB, free: 9.746 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 6.601206296123564]