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.001201/0.001201, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001575/0.002776, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001044/0.001044, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.00243, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9242/0.9242, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1127/1.037, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.38/2.38, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2205/2.6, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.753e-06/1.753e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.455e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001031/0.001045, allocations: 0.6103 MB / 0.8195 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 1.524e-05/0.00106, allocations: 4 kB / 0.8195 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.001078, allocations: 0 / 0.8195 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.001097, allocations: 3.938 kB / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.929e-06/0.001107, allocations: 0 / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.201e-05/0.001119, allocations: 0 / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.922e-05/0.001158, allocations: 0 / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.001189, allocations: 4 kB / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.001225, allocations: 4 kB / 0.8195 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 1.836e-05/0.001243, allocations: 0 / 0.8195 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.001257, allocations: 3.938 kB / 0.8195 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.001261, allocations: 4 kB / 0.8195 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.001273, allocations: 4 kB / 0.8195 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.1e-05/0.001284, allocations: 0 / 0.8195 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 4.709e-05/0.001331, allocations: 0 / 0.8195 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.001341, allocations: 0 / 0.8195 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.01e-07/0.001341, allocations: 0 / 0.8195 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.00135, allocations: 0 / 0.8195 GB, free: 1.859 MB / 0.7917 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.0002082/0.001558, allocations: 220.7 kB / 0.8198 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.001587, allocations: 8.031 kB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.014e-05/0.001607, allocations: 0.9375 kB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.145e-05/0.001679, allocations: 105.8 kB / 0.8199 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.001686, allocations: 4.375 kB / 0.8199 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.001693, allocations: 384 / 0.8199 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.312e-05/0.001756, allocations: 38.19 kB / 0.8199 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-06/0.001761, allocations: 192 / 0.8199 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-06/0.001765, allocations: 384 / 0.8199 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.001768, allocations: 384 / 0.8199 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-06/0.001774, allocations: 3.938 kB / 0.8199 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.001926, allocations: 290.9 kB / 0.8202 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.667e-05/0.001983, allocations: 177 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.002002, allocations: 80.14 kB / 0.8204 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.00202, allocations: 79.28 kB / 0.8205 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.002051, allocations: 113.8 kB / 0.8206 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.002051, allocations: 0 / 0.8206 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 4.166e-05/0.002093, allocations: 25.7 kB / 0.8206 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.002136, allocations: 134.6 kB / 0.8208 GB, free: 500 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.002185, allocations: 102.7 kB / 0.8209 GB, free: 384 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.002191, allocations: 25.7 kB / 0.8209 GB, free: 352 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.002219, allocations: 80.14 kB / 0.821 GB, free: 268 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-07/0.00222, allocations: 0 / 0.821 GB, free: 268 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.002236, allocations: 9.844 kB / 0.821 GB, free: 252 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.002314, allocations: 322.8 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-06/0.002317, allocations: 0 / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-06/0.00232, allocations: 0 / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.899e-05/0.002339, allocations: 79.28 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/0.002359, allocations: 79.27 kB / 0.8214 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.784e-05/0.002387, allocations: 29.7 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.002413, allocations: 80.53 kB / 0.8215 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.002432, allocations: 79.22 kB / 0.8216 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.285e-05/0.002475, allocations: 154.6 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.002493, allocations: 83.16 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.282e-05/0.002526, allocations: 154.6 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.002567, allocations: 83.27 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.002584, allocations: 83.38 kB / 0.8221 GB, free: 15.02 MB / 0.8073 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.199e-05/0.002656, allocations: 264.4 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.002688, allocations: 105 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.002718, allocations: 107.9 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/0.002755, allocations: 180.3 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.76e-05/0.002792, allocations: 184.2 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/0.002832, allocations: 184.2 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.002944, allocations: 317.4 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/0.002967, allocations: 108.9 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.00299, allocations: 109 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.003015, allocations: 108.9 kB / 0.8237 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.568e-05/0.003051, allocations: 180.2 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.003091, allocations: 180.3 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.993e-05/0.003131, allocations: 184.2 kB / 0.8243 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.703e-05/0.003168, allocations: 180.2 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.463e-05/0.003252, allocations: 311.8 kB / 0.8247 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.003296, allocations: 176.3 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.003339, allocations: 104.9 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.003384, allocations: 184.2 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.003406, allocations: 108.9 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.487e-05/0.003421, allocations: 8.797 kB / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.003421, allocations: 0 / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001277/0.003549, allocations: 4 kB / 0.8253 GB, free: 11.63 MB / 0.8073 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 7.873e-05/0.003628, allocations: 151.7 kB / 0.8254 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 2.926e-05/0.003657, allocations: 0 / 0.8254 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.00366, allocations: 0 / 0.8254 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.003662, allocations: 0 / 0.8254 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.003846, allocations: 482.2 kB / 0.8259 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001353/0.003981, allocations: 155.5 kB / 0.826 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.419e-05/0.004005, allocations: 51.36 kB / 0.8261 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.853e-06/0.004007, allocations: 0 / 0.8261 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.004026, allocations: 47.38 kB / 0.8261 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of SimCode: time 3.1e-07/0.004027, allocations: 3.938 kB / 0.8261 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.00116/0.005187, allocations: 188.1 kB / 0.8263 GB, free: 10.52 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.003183575347066]