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.001653/0.001653, allocations: 88.72 kB / 19.44 MB, free: 356 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.00203/0.00203, allocations: 157.7 kB / 22.76 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.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.232/3.232, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.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.194e-06/2.194e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.363e-05/3.583e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001811/0.001846, allocations: 0.5563 MB / 0.8781 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 3.798e-05/0.001884, allocations: 0 / 0.8781 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.00191, allocations: 1.125 kB / 0.8781 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.001936, allocations: 0 / 0.8781 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.001964, allocations: 0.5469 kB / 0.8781 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.362e-05/0.001998, allocations: 9.031 kB / 0.8782 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.002051, allocations: 0.5469 kB / 0.8782 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.002094, allocations: 3.984 kB / 0.8782 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.002124, allocations: 1.922 kB / 0.8782 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.002146, allocations: 4.875 kB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.002161, allocations: 0 / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-06/0.002165, allocations: 0 / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.002181, allocations: 7.172 kB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.002204, allocations: 0.7656 kB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.695e-05/0.002261, allocations: 0 / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002263, allocations: 0 / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.216e-06/0.002266, allocations: 7.938 kB / 0.8782 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.00227, allocations: 0.9844 kB / 0.8782 GB, free: 5.914 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003641/0.002634, allocations: 242.4 kB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.002678, allocations: 8.031 kB / 0.8784 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.002716, allocations: 5.531 kB / 0.8784 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.002841, allocations: 105.8 kB / 0.8785 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.002854, allocations: 2.031 kB / 0.8785 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.002861, allocations: 384 / 0.8785 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.002944, allocations: 26.27 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.002952, allocations: 192 / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.002959, allocations: 6.188 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.002963, allocations: 1.719 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.002985, allocations: 7.938 kB / 0.8786 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.003364, allocations: 335 kB / 0.8789 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.003493, allocations: 173.2 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.00356, allocations: 81.67 kB / 0.8791 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.003608, allocations: 75.28 kB / 0.8792 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/0.003681, allocations: 105.8 kB / 0.8793 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 3.266e-06/0.003685, allocations: 4 kB / 0.8793 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.183e-05/0.003776, allocations: 37.58 kB / 0.8793 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.003873, allocations: 130.7 kB / 0.8795 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.003978, allocations: 89.86 kB / 0.8796 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.003999, allocations: 25.92 kB / 0.8796 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.004062, allocations: 92.08 kB / 0.8797 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.004064, allocations: 0 / 0.8797 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.004091, allocations: 9.719 kB / 0.8797 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.004271, allocations: 310.8 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-06/0.004276, allocations: 0 / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-06/0.004279, allocations: 128 / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.004327, allocations: 83.28 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.174e-05/0.004369, allocations: 75.28 kB / 0.8801 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.918e-05/0.004428, allocations: 29.64 kB / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.004506, allocations: 87.27 kB / 0.8802 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/0.004554, allocations: 79.22 kB / 0.8803 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.004657, allocations: 154.5 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/0.004704, allocations: 84.03 kB / 0.8805 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-05/0.004792, allocations: 150.6 kB / 0.8807 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.004877, allocations: 79.22 kB / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.004922, allocations: 79.28 kB / 0.8808 GB, free: 3.02 MB / 0.8386 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.0001732/0.005096, allocations: 260.4 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.005178, allocations: 108.9 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.432e-05/0.005262, allocations: 120 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/0.005362, allocations: 176.5 kB / 0.8815 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001231/0.005485, allocations: 180.2 kB / 0.8816 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/0.005592, allocations: 184.3 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.005875, allocations: 352.8 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.529e-05/0.005941, allocations: 109 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.006252, allocations: 101 kB / 0.8824 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.006359, allocations: 180.2 kB / 0.8825 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.00648, allocations: 188.2 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001068/0.006587, allocations: 184.1 kB / 0.8829 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001039/0.00669, allocations: 180.3 kB / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.006904, allocations: 311.8 kB / 0.8833 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.006967, allocations: 101 kB / 0.8834 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.007079, allocations: 180.2 kB / 0.8836 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.007208, allocations: 113 kB / 0.8837 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.00732, allocations: 180.2 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/0.007396, allocations: 112.9 kB / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.007449, allocations: 83.22 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.007449, allocations: 4.094 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002662/0.007715, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 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.0001718/0.007887, allocations: 170.5 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.604e-05/0.007933, allocations: 0 / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007935, allocations: 0 / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.491e-06/0.00794, allocations: 3.938 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.008417, allocations: 458.2 kB / 0.8847 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.008697, allocations: 159 kB / 0.8848 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.883e-05/0.008765, allocations: 59.22 kB / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.964e-06/0.008767, allocations: 4 kB / 0.8849 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.008787, allocations: 8.5 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of SimCode: time 4.7e-07/0.008787, allocations: 0 / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.00217/0.01096, allocations: 168.8 kB / 0.8851 GB, free: 14.43 MB / 0.8542 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: 8.285120829939842]