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.001719/0.001719, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002158/0.002158, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.317/3.317, allocations: 0.4899 GB / 0.7915 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003199/0.003199, allocations: 72.7 kB / 1.149 GB, free: 26.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4704, allocations: 176.1 MB / 1.321 GB, free: 3.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00187/0.4722, allocations: 0.5505 MB / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.206e-05/0.4723, allocations: 0 / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.4723, allocations: 0 / 1.322 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.4723, allocations: 3.984 kB / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.4724, allocations: 0 / 1.322 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.36e-05/0.4724, allocations: 8 kB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.996e-05/0.4725, allocations: 4 kB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.4725, allocations: 0 / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.403e-05/0.4725, allocations: 0 / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.4726, allocations: 4 kB / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.4726, allocations: 0 / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-06/0.4726, allocations: 0 / 1.322 GB, free: 2.434 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.4726, allocations: 3.938 kB / 1.322 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.4726, allocations: 7.922 kB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.276e-05/0.4727, allocations: 0 / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4727, allocations: 0 / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4727, allocations: 4 kB / 1.322 GB, free: 2.418 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.4727, allocations: 0 / 1.322 GB, free: 2.418 MB / 1.014 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.0003733/0.4731, allocations: 319.5 kB / 1.322 GB, free: 2.055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4731, allocations: 16.02 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.4731, allocations: 0.9375 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4733, allocations: 160.4 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4733, allocations: 384 / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.4733, allocations: 4.375 kB / 1.322 GB, free: 1.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/0.4734, allocations: 38.25 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4734, allocations: 192 / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4734, allocations: 3.938 kB / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4734, allocations: 0 / 1.322 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.4734, allocations: 3.938 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.4738, allocations: 383.5 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.4739, allocations: 177.1 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.474, allocations: 84.17 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.585e-05/0.474, allocations: 75.28 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.4741, allocations: 109.8 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4741, allocations: 3.938 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.126e-05/0.4742, allocations: 25.7 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.4743, allocations: 130.7 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.4743, allocations: 101.8 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4744, allocations: 25.7 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.4744, allocations: 80.58 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.4744, allocations: 0 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.4744, allocations: 13.72 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4746, allocations: 314.8 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-06/0.4746, allocations: 0 / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-06/0.4746, allocations: 4.125 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.4747, allocations: 75.28 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-05/0.4747, allocations: 75.28 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.923e-05/0.4748, allocations: 41.58 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.4748, allocations: 79.28 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.107e-05/0.4749, allocations: 79.28 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.256e-05/0.475, allocations: 162.5 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.475, allocations: 79.28 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.893e-05/0.4751, allocations: 150.6 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.4752, allocations: 79.22 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.4752, allocations: 79.28 kB / 1.325 GB, free: 15.27 MB / 1.029 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.0001759/0.4754, allocations: 264.3 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.4755, allocations: 108.9 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/0.4756, allocations: 112.1 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.454e-05/0.4757, allocations: 176.3 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-05/0.4757, allocations: 180.2 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.964e-05/0.4758, allocations: 176.3 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.4762, allocations: 413.1 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/0.4762, allocations: 105 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.4763, allocations: 104.9 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-05/0.4764, allocations: 180.3 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-05/0.4764, allocations: 184.2 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.089e-05/0.4765, allocations: 184.5 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.521e-05/0.4766, allocations: 180.3 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.4768, allocations: 307.7 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.4769, allocations: 190.1 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.4771, allocations: 188.2 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.4771, allocations: 101 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4772, allocations: 184.2 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.4773, allocations: 109 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.872e-05/0.4773, allocations: 79.28 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4773, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002427/0.4776, allocations: 3.938 kB / 1.328 GB, free: 11.59 MB / 1.029 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.0002042/0.4778, allocations: 174.5 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.363e-05/0.4778, allocations: 8.031 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4779, allocations: 0 / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.4779, allocations: 3.938 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.4783, allocations: 461.7 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.4785, allocations: 156.3 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4789, allocations: 0.6767 MB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.973e-06/0.4789, allocations: 0 / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.4789, allocations: 7.438 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4789, allocations: 0 / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of Templates: time 0.002289/0.4812, allocations: 168.7 kB / 1.33 GB, free: 9.887 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.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: 9.324750632978976]