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.001655/0.001655, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001875/0.001875, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.14/3.14, allocations: 0.49 GB / 0.7958 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.002141/0.002141, allocations: 72.7 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001888/0.343, allocations: 0.5624 MB / 1.328 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.612e-05/0.3431, allocations: 0 / 1.328 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.3431, allocations: 0 / 1.328 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.3431, allocations: 3.938 kB / 1.328 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.3431, allocations: 0 / 1.328 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-05/0.3432, allocations: 4 kB / 1.328 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.3432, allocations: 4 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.3433, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.372e-05/0.3433, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.3433, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3433, allocations: 0 / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-06/0.3433, allocations: 4 kB / 1.328 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.3434, allocations: 0 / 1.328 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.3434, allocations: 7.938 kB / 1.328 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.413e-05/0.3434, allocations: 7.969 kB / 1.328 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3434, allocations: 0 / 1.328 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3434, allocations: 0 / 1.328 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3435, allocations: 0 / 1.328 GB, free: 0.8672 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.0003202/0.3438, allocations: 238.4 kB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3438, allocations: 8.031 kB / 1.328 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.3438, allocations: 4.938 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.344, allocations: 110.5 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.344, allocations: 384 / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.344, allocations: 384 / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/0.3441, allocations: 38.2 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3441, allocations: 192 / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3441, allocations: 3.938 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3441, allocations: 0 / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.406e-05/0.3441, allocations: 0 / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.3445, allocations: 358.5 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.3446, allocations: 177.5 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.104e-05/0.3446, allocations: 84.08 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3447, allocations: 75.28 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.159e-05/0.3447, allocations: 109.8 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3447, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.671e-05/0.3448, allocations: 29.7 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.3449, allocations: 126.7 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.345, allocations: 105.8 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.345, allocations: 25.7 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.3451, allocations: 84.08 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-06/0.3451, allocations: 4.125 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.3451, allocations: 13.72 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3452, allocations: 310.8 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.3452, allocations: 0 / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-06/0.3452, allocations: 0 / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.3453, allocations: 79.28 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-05/0.3453, allocations: 75.28 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.482e-05/0.3454, allocations: 33.64 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.3454, allocations: 79.28 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/0.3455, allocations: 87.22 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.699e-05/0.3456, allocations: 154.5 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.3456, allocations: 75.28 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.328e-05/0.3457, allocations: 154.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.3457, allocations: 79.28 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.3458, allocations: 79.22 kB / 1.33 GB, free: 13.93 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.0001507/0.3459, allocations: 268.3 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.346, allocations: 101 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.3461, allocations: 116.1 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.172e-05/0.3462, allocations: 176.3 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/0.3463, allocations: 176.3 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.44e-05/0.3464, allocations: 188.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.3466, allocations: 376.2 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.183e-05/0.3467, allocations: 112.9 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.3467, allocations: 101 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.483e-05/0.3468, allocations: 184.3 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.36e-05/0.3469, allocations: 188.2 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.533e-05/0.347, allocations: 180.6 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.995e-05/0.3471, allocations: 184.2 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3473, allocations: 303.8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.3473, allocations: 112.9 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/0.3474, allocations: 180.3 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.3475, allocations: 104.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.3476, allocations: 180.3 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.3477, allocations: 112.9 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.3477, allocations: 75.28 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3477, allocations: 7.875 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002602/0.348, allocations: 8.094 kB / 1.334 GB, free: 10.36 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.0001541/0.3481, allocations: 170.5 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.143e-05/0.3482, allocations: 4 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3482, allocations: 0 / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3482, allocations: 0 / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3486, allocations: 461.2 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.3488, allocations: 187.8 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3492, allocations: 0.669 MB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.3492, allocations: 7.438 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3492, allocations: 3.938 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of Templates: time 0.001602/0.3508, allocations: 319.9 kB / 1.335 GB, free: 8.484 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/jenkins1/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: 10.831890060013393]