Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0007985/0.0007985, 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.0008215/0.0008215, 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.8675/0.8675, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.771/1.771, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.387e-05, allocations: 6.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001107/0.001131, allocations: 0.5428 MB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 3.84e-05/0.001169, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.001194, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.00122, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.965e-05/0.00125, allocations: 4 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-05/0.001282, allocations: 0 / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.001339, allocations: 7.938 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.001385, allocations: 0 / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.001412, allocations: 3.938 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.911e-05/0.001431, allocations: 3.984 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.001452, allocations: 0 / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-06/0.001456, allocations: 4 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.001468, allocations: 0 / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.001485, allocations: 4 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 5.79e-05/0.001543, allocations: 7.922 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.001545, allocations: 4 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/0.001546, allocations: 0 / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00155, allocations: 0 / 1.001 GB, free: 12.42 MB / 0.9636 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.000229/0.001779, allocations: 234.4 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.001815, allocations: 16.73 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.001841, allocations: 0.9375 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.001914, allocations: 101.8 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.001928, allocations: 8.375 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.001936, allocations: 4.375 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.045e-05/0.002006, allocations: 26.27 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.002014, allocations: 4.188 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.002022, allocations: 384 / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.002026, allocations: 384 / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.002042, allocations: 11.88 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.002272, allocations: 331.2 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.002335, allocations: 165.1 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.002359, allocations: 80.14 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.00238, allocations: 79.27 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.002413, allocations: 113.8 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.002414, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.163e-05/0.002466, allocations: 29.64 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.002508, allocations: 130.7 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.002569, allocations: 101.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.002577, allocations: 25.7 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.002606, allocations: 84.09 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.002608, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/0.002625, allocations: 13.72 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003217/0.002947, allocations: 310.8 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.002951, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.002954, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.002973, allocations: 75.28 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.00299, allocations: 83.34 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.334e-05/0.003024, allocations: 33.64 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.00305, allocations: 83.22 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.00307, allocations: 87.22 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-05/0.003113, allocations: 158.5 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.751e-05/0.003131, allocations: 76.06 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.382e-05/0.003164, allocations: 158.5 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.003205, allocations: 75.28 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.003219, allocations: 75.28 kB / 1.004 GB, free: 9.516 MB / 0.9636 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 8.028e-05/0.0033, allocations: 264.4 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.003331, allocations: 108.9 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.003365, allocations: 115.9 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.003403, allocations: 184.4 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.745e-05/0.00344, allocations: 176.3 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/0.003477, allocations: 180.3 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.003594, allocations: 360.8 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/0.003616, allocations: 101 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.003638, allocations: 108.9 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-05/0.003674, allocations: 176.3 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.003712, allocations: 176.3 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.059e-05/0.003753, allocations: 200.1 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-05/0.00379, allocations: 176.3 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.593e-05/0.003876, allocations: 299.8 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.003906, allocations: 109 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.003952, allocations: 188.2 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.003998, allocations: 108.9 kB / 1.007 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.00404, allocations: 184.2 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.004063, allocations: 101 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.004089, allocations: 75.28 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004089, allocations: 0 / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001617/0.004251, allocations: 96 / 1.007 GB, free: 6.008 MB / 0.9636 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.913e-05/0.00434, allocations: 178.5 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 3.78e-05/0.004378, allocations: 3.938 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.004379, allocations: 0 / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.004381, allocations: 4 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.004617, allocations: 457.9 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.004802, allocations: 185.8 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.004838, allocations: 63.28 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-06/0.004848, allocations: 8.5 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of SimCode: time 3.31e-07/0.004848, allocations: 4 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of Templates: time 0.0009984/0.005847, allocations: 311.9 kB / 1.009 GB, free: 4.754 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.332026543095708]