Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001023/0.001023, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002267, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006939/0.0006939, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009419/0.001636, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09908/1.117, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.846/1.846, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5816/2.428, allocations: 123.3 MB / 0.728 GB, free: 5.812 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.259e-05, allocations: 8.781 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009984/0.001011, allocations: 0.5989 MB / 0.7299 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 1.254e-05/0.001024, allocations: 4.781 kB / 0.7299 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.001036, allocations: 0 / 0.7299 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.001048, allocations: 4.656 kB / 0.7299 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.001055, allocations: 0 / 0.7299 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.181e-05/0.001067, allocations: 4.688 kB / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.323e-05/0.0011, allocations: 0.7656 kB / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.501e-05/0.001125, allocations: 2.609 kB / 0.7299 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.001151, allocations: 7.984 kB / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.613e-05/0.001167, allocations: 0.6562 kB / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.001178, allocations: 0 / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.001182, allocations: 3.391 kB / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.111e-06/0.001188, allocations: 0 / 0.7299 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.001201, allocations: 4.656 kB / 0.73 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 3.529e-05/0.001236, allocations: 0.7656 kB / 0.73 GB, free: 3.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.00125, allocations: 0 / 0.73 GB, free: 3.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.71e-07/0.001251, allocations: 0 / 0.73 GB, free: 3.914 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.001266, allocations: 0.6562 kB / 0.73 GB, free: 3.914 MB / 0.698 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.00021/0.001476, allocations: 217.3 kB / 0.7302 GB, free: 3.676 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.484e-05/0.001501, allocations: 9.281 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.571e-05/0.001516, allocations: 0.9375 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.001596, allocations: 110.3 kB / 0.7303 GB, free: 3.535 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.001605, allocations: 9.156 kB / 0.7303 GB, free: 3.527 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-06/0.001609, allocations: 1.359 kB / 0.7303 GB, free: 3.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.965e-05/0.001658, allocations: 26.8 kB / 0.7303 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.001665, allocations: 192 / 0.7303 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.001671, allocations: 6.094 kB / 0.7303 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.001675, allocations: 384 / 0.7303 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-06/0.001685, allocations: 3.938 kB / 0.7303 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.001837, allocations: 286.9 kB / 0.7306 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.001892, allocations: 177.9 kB / 0.7308 GB, free: 3.008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.001913, allocations: 84.12 kB / 0.7308 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.001929, allocations: 77.45 kB / 0.7309 GB, free: 2.848 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.00196, allocations: 109.8 kB / 0.731 GB, free: 2.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 5.41e-07/0.00196, allocations: 1.531 kB / 0.731 GB, free: 2.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 3.654e-05/0.001997, allocations: 33.64 kB / 0.7311 GB, free: 2.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.00204, allocations: 130.6 kB / 0.7312 GB, free: 2.551 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.002084, allocations: 95.59 kB / 0.7313 GB, free: 2.445 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.00209, allocations: 25.7 kB / 0.7313 GB, free: 2.414 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.002114, allocations: 89.03 kB / 0.7314 GB, free: 2.324 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.31e-07/0.002115, allocations: 0 / 0.7314 GB, free: 2.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.002133, allocations: 13.7 kB / 0.7314 GB, free: 2.305 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.002196, allocations: 316.6 kB / 0.7317 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-06/0.002198, allocations: 0 / 0.7317 GB, free: 1.988 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-06/0.002202, allocations: 3.5 kB / 0.7317 GB, free: 1.988 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.558e-05/0.002217, allocations: 76.27 kB / 0.7318 GB, free: 1.914 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.002231, allocations: 75.28 kB / 0.7318 GB, free: 1.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.704e-05/0.002258, allocations: 30.2 kB / 0.7319 GB, free: 1.805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.002279, allocations: 80.38 kB / 0.732 GB, free: 1.727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.002296, allocations: 83.22 kB / 0.732 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.002329, allocations: 154.6 kB / 0.7322 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.125e-05/0.00235, allocations: 83.78 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.263e-05/0.002383, allocations: 163.7 kB / 0.7324 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.002421, allocations: 79.28 kB / 0.7325 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.002436, allocations: 80.2 kB / 0.7326 GB, free: 1.094 MB / 0.698 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 6.869e-05/0.002505, allocations: 257.1 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.002536, allocations: 105 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.002569, allocations: 108.5 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/0.002608, allocations: 181.2 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-05/0.002647, allocations: 188.1 kB / 0.7334 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.025e-05/0.002687, allocations: 180.9 kB / 0.7335 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.00282, allocations: 321.5 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.002847, allocations: 109.7 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.002871, allocations: 101.9 kB / 0.734 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.002898, allocations: 109.4 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.751e-05/0.002936, allocations: 177.5 kB / 0.7343 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.002971, allocations: 176.3 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.751e-05/0.003008, allocations: 188.5 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.784e-05/0.003046, allocations: 184.2 kB / 0.7348 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.919e-05/0.003125, allocations: 304.6 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.003169, allocations: 180.3 kB / 0.7353 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.003217, allocations: 111 kB / 0.7354 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.003256, allocations: 180.3 kB / 0.7356 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.003288, allocations: 104.9 kB / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.787e-06/0.003297, allocations: 9.953 kB / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003297, allocations: 0 / 0.7357 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001238/0.003421, allocations: 0 / 0.7357 GB, free: 13.71 MB / 0.7136 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 6.637e-05/0.003487, allocations: 157 kB / 0.7358 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.834e-05/0.003516, allocations: 5.031 kB / 0.7358 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.003519, allocations: 4.75 kB / 0.7359 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.003519, allocations: 0 / 0.7359 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.003708, allocations: 456.2 kB / 0.7363 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001209/0.003829, allocations: 168.5 kB / 0.7364 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.385e-05/0.003853, allocations: 51.36 kB / 0.7365 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.413e-06/0.003854, allocations: 0 / 0.7365 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.003871, allocations: 52.02 kB / 0.7365 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.003872, allocations: 1.219 kB / 0.7365 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of Templates: time 0.001091/0.004963, allocations: 166.1 kB / 0.7367 GB, free: 12.62 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.965227885171771]