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.001742/0.001742, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002152/0.002152, allocations: 163.5 kB / 22.46 MB, free: 5.375 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.603/1.603, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.036/3.036, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.154e-06/2.154e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.333e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001791/0.001824, allocations: 0.5924 MB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.349e-05/0.001868, allocations: 4 kB / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.001901, allocations: 0 / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.001926, allocations: 0 / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.001954, allocations: 0 / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.395e-05/0.001988, allocations: 0 / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.002043, allocations: 0 / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.002095, allocations: 4 kB / 0.9821 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.002127, allocations: 11.88 kB / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/0.00215, allocations: 0 / 0.9821 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.002165, allocations: 3.938 kB / 0.9821 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-06/0.002169, allocations: 4 kB / 0.9821 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.002182, allocations: 0 / 0.9821 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.002199, allocations: 0 / 0.9821 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.163e-05/0.002261, allocations: 7.984 kB / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002263, allocations: 0 / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002264, allocations: 0 / 0.9821 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.002268, allocations: 0 / 0.9821 GB, free: 11.32 MB / 0.9356 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.0003097/0.002578, allocations: 238.4 kB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.00262, allocations: 8.031 kB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.002652, allocations: 8.922 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.002793, allocations: 109.8 kB / 0.9824 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.002804, allocations: 384 / 0.9824 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.00281, allocations: 384 / 0.9824 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.002897, allocations: 30.27 kB / 0.9825 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.002904, allocations: 192 / 0.9825 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.002912, allocations: 384 / 0.9825 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.002916, allocations: 384 / 0.9825 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.002934, allocations: 7.875 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.003244, allocations: 331.2 kB / 0.9828 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.003349, allocations: 173.2 kB / 0.9829 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.003393, allocations: 80.14 kB / 0.983 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.00343, allocations: 79.28 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.003493, allocations: 117.8 kB / 0.9832 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.003494, allocations: 0 / 0.9832 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.687e-05/0.00357, allocations: 37.58 kB / 0.9832 GB, free: 10 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.003653, allocations: 126.7 kB / 0.9834 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.00374, allocations: 93.86 kB / 0.9835 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.003758, allocations: 25.7 kB / 0.9835 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.003804, allocations: 84.12 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.003806, allocations: 0 / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.003828, allocations: 9.844 kB / 0.9836 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.003968, allocations: 318.8 kB / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-06/0.003973, allocations: 0 / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/0.003975, allocations: 0 / 0.9839 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.004012, allocations: 75.28 kB / 0.9839 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/0.004043, allocations: 75.28 kB / 0.984 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.071e-05/0.004104, allocations: 37.64 kB / 0.9841 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.004147, allocations: 79.28 kB / 0.9841 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/0.004186, allocations: 79.22 kB / 0.9842 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.007e-05/0.004266, allocations: 166.4 kB / 0.9844 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.404e-05/0.0043, allocations: 75.28 kB / 0.9844 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.373e-05/0.004364, allocations: 154.6 kB / 0.9846 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.00444, allocations: 79.22 kB / 0.9847 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.004472, allocations: 79.28 kB / 0.9847 GB, free: 8.414 MB / 0.9356 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 0.0001456/0.004618, allocations: 260.4 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.00469, allocations: 112.9 kB / 0.9851 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.044e-05/0.004751, allocations: 111.9 kB / 0.9852 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-05/0.004837, allocations: 180.2 kB / 0.9854 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.044e-05/0.004917, allocations: 180.3 kB / 0.9855 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.755e-05/0.005005, allocations: 176.5 kB / 0.9857 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.005231, allocations: 360.8 kB / 0.9861 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.067e-05/0.005282, allocations: 109 kB / 0.9862 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.005327, allocations: 104.9 kB / 0.9863 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.877e-05/0.005406, allocations: 180.3 kB / 0.9864 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-05/0.005483, allocations: 176.3 kB / 0.9866 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.194e-05/0.005565, allocations: 192.1 kB / 0.9868 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-05/0.005644, allocations: 180.3 kB / 0.987 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.00581, allocations: 299.8 kB / 0.9872 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.00586, allocations: 101 kB / 0.9873 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.005955, allocations: 196.2 kB / 0.9875 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.00604, allocations: 108.9 kB / 0.9876 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.00613, allocations: 180.2 kB / 0.9878 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/0.006181, allocations: 109 kB / 0.9879 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.006223, allocations: 75.28 kB / 0.988 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.006223, allocations: 0 / 0.988 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002507/0.006473, allocations: 0 / 0.988 GB, free: 4.906 MB / 0.9356 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 0.0001569/0.00663, allocations: 175 kB / 0.9881 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.893e-05/0.006679, allocations: 0 / 0.9881 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.006681, allocations: 0 / 0.9881 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.006682, allocations: 3.938 kB / 0.9881 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.007106, allocations: 463.8 kB / 0.9886 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.007435, allocations: 159.3 kB / 0.9887 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.007512, allocations: 55.34 kB / 0.9888 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.836e-06/0.007514, allocations: 0 / 0.9888 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.007535, allocations: 8.5 kB / 0.9888 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of SimCode: time 4.6e-07/0.007535, allocations: 4 kB / 0.9888 GB, free: 4 MB / 0.9356 GB Notification: Performance of Templates: time 0.002622/0.01016, allocations: 156.8 kB / 0.989 GB, free: 3.848 MB / 0.9356 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: 8.490544989705086]