Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001047/0.001047, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002614, 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.001137/0.001137, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002639, 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.9781/0.9781, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/1.085, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.381/2.381, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2667/2.648, 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.51e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001415/0.00144, allocations: 0.6104 MB / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 2.469e-05/0.001464, allocations: 3.938 kB / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.001486, allocations: 0 / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.001505, allocations: 0 / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.268e-05/0.001518, allocations: 4 kB / 0.8195 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.61e-05/0.001534, allocations: 3.984 kB / 0.8195 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.001584, allocations: 4 kB / 0.8195 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.001625, allocations: 4 kB / 0.8195 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.00167, allocations: 3.938 kB / 0.8195 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.548e-05/0.001695, allocations: 0 / 0.8195 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.001714, allocations: 4 kB / 0.8196 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.588e-06/0.001719, allocations: 0 / 0.8196 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.001734, allocations: 0 / 0.8196 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.001749, allocations: 0 / 0.8196 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.04e-05/0.001809, allocations: 0 / 0.8196 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.001824, allocations: 4 kB / 0.8196 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.91e-07/0.001825, allocations: 4 kB / 0.8196 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.001838, allocations: 0 / 0.8196 GB, free: 1.844 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.0002651/0.002103, allocations: 212.7 kB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.002135, allocations: 8.031 kB / 0.8198 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.002161, allocations: 8.875 kB / 0.8198 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.002248, allocations: 101.8 kB / 0.8199 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.002257, allocations: 384 / 0.8199 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.002279, allocations: 4.312 kB / 0.8199 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.713e-05/0.002346, allocations: 30.27 kB / 0.8199 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.002354, allocations: 8.172 kB / 0.8199 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.00236, allocations: 384 / 0.8199 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.002365, allocations: 384 / 0.8199 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.073e-05/0.002376, allocations: 3.938 kB / 0.8199 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.002557, allocations: 298.9 kB / 0.8202 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.456e-05/0.002622, allocations: 169.1 kB / 0.8204 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.002645, allocations: 80.14 kB / 0.8204 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.002664, allocations: 75.28 kB / 0.8205 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.002699, allocations: 109.8 kB / 0.8206 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.0027, allocations: 0 / 0.8206 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.905e-05/0.002759, allocations: 33.69 kB / 0.8207 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.002802, allocations: 134.6 kB / 0.8208 GB, free: 488 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.002861, allocations: 102.7 kB / 0.8209 GB, free: 372 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.002867, allocations: 25.7 kB / 0.8209 GB, free: 340 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.002897, allocations: 80.14 kB / 0.821 GB, free: 256 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-06/0.002898, allocations: 0 / 0.821 GB, free: 256 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.002918, allocations: 13.72 kB / 0.821 GB, free: 236 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.003017, allocations: 314.8 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-06/0.003021, allocations: 0 / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.003025, allocations: 0 / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.003046, allocations: 75.41 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.003065, allocations: 79.28 kB / 0.8214 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.854e-05/0.003103, allocations: 33.69 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.003135, allocations: 79.28 kB / 0.8215 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.00316, allocations: 83.22 kB / 0.8216 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.224e-05/0.003212, allocations: 150.6 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.632e-05/0.003239, allocations: 83.16 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.264e-05/0.003281, allocations: 154.6 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.54e-05/0.003377, allocations: 75.28 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.003399, allocations: 83.39 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 8.386e-05/0.003483, allocations: 264.4 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.003518, allocations: 112.9 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.003555, allocations: 107.9 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.003595, allocations: 184.2 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-05/0.003639, allocations: 188.1 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.505e-05/0.003684, allocations: 184.3 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.003809, allocations: 317.5 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.003836, allocations: 104.9 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.00386, allocations: 105 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.003892, allocations: 112.9 kB / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.095e-05/0.003933, allocations: 180.3 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.003975, allocations: 180.3 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.045e-05/0.004015, allocations: 180.2 kB / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.426e-05/0.00406, allocations: 184.2 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.646e-05/0.004156, allocations: 307.8 kB / 0.8247 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.004196, allocations: 176.3 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.299e-05/0.004239, allocations: 108.9 kB / 0.825 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.004306, allocations: 176.3 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.00433, allocations: 108.9 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.836e-05/0.004348, allocations: 12.8 kB / 0.8253 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004348, allocations: 0 / 0.8253 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001281/0.004476, allocations: 4.094 kB / 0.8253 GB, free: 11.62 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 0.0001036/0.00458, allocations: 153.7 kB / 0.8254 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.438e-05/0.004614, allocations: 0 / 0.8254 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.004618, allocations: 0 / 0.8254 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.00462, allocations: 0 / 0.8254 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.004815, allocations: 467.7 kB / 0.8259 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.005014, allocations: 159.5 kB / 0.826 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.721e-05/0.005041, allocations: 55.3 kB / 0.8261 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.904e-06/0.005043, allocations: 0 / 0.8261 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.005067, allocations: 63.3 kB / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.005068, allocations: 0 / 0.8262 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of Templates: time 0.001339/0.006406, allocations: 169.7 kB / 0.8263 GB, free: 10.52 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.020533941686153]