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.001585/0.001585, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001816/0.001816, allocations: 218.1 kB / 22.99 MB, free: 4.914 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.153/3.153, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 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.003092/0.003092, allocations: 69.53 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3617, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00181/0.3635, allocations: 0.5485 MB / 1.327 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.855e-05/0.3635, allocations: 3.938 kB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.3636, allocations: 4 kB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.3636, allocations: 0 / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.3636, allocations: 3.938 kB / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.821e-05/0.3637, allocations: 7.938 kB / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.3637, allocations: 0 / 1.327 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.3638, allocations: 7.984 kB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.258e-05/0.3638, allocations: 0 / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.3638, allocations: 4 kB / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3638, allocations: 0 / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-06/0.3638, allocations: 0 / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.3639, allocations: 0 / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.3639, allocations: 4 kB / 1.327 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.339e-05/0.3639, allocations: 7.922 kB / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3639, allocations: 0 / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3639, allocations: 0 / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3639, allocations: 4 kB / 1.327 GB, free: 1.266 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.0003207/0.3643, allocations: 242.4 kB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3643, allocations: 11.97 kB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.3643, allocations: 0.9375 kB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3644, allocations: 102.5 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3644, allocations: 4.375 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3645, allocations: 4.375 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/0.3645, allocations: 26.27 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3646, allocations: 192 / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3646, allocations: 3.938 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3646, allocations: 4 kB / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.298e-05/0.3646, allocations: 0 / 1.327 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.3649, allocations: 339 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.365, allocations: 165.6 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.3651, allocations: 84.17 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.3651, allocations: 79.22 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.068e-05/0.3652, allocations: 109.8 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.996e-06/0.3652, allocations: 7.984 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.716e-05/0.3653, allocations: 33.64 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.3654, allocations: 130.7 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.3655, allocations: 93.84 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3655, allocations: 25.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.3655, allocations: 80.14 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.3655, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.3656, allocations: 13.72 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3657, allocations: 314.8 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.3657, allocations: 4.125 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/0.3657, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.3658, allocations: 75.28 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.24e-05/0.3658, allocations: 79.28 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.547e-05/0.3658, allocations: 37.52 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.3659, allocations: 83.28 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.831e-05/0.3659, allocations: 83.2 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.9e-05/0.366, allocations: 150.6 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.464e-05/0.3661, allocations: 79.22 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.487e-05/0.3661, allocations: 154.6 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.3662, allocations: 83.22 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3662, allocations: 79.28 kB / 1.33 GB, free: 14.35 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.0001465/0.3664, allocations: 260.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.3665, allocations: 108.9 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.3665, allocations: 111.9 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-05/0.3666, allocations: 176.3 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.796e-05/0.3667, allocations: 184.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-05/0.3668, allocations: 180.3 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.3671, allocations: 352.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.847e-05/0.3671, allocations: 109 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.3672, allocations: 101 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.404e-05/0.3673, allocations: 192.1 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.3674, allocations: 180.2 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.136e-05/0.3674, allocations: 184.5 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.057e-05/0.3675, allocations: 176.3 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3677, allocations: 307.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.3678, allocations: 112.9 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.3679, allocations: 180.2 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.368, allocations: 105 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.184e-05/0.3681, allocations: 176.3 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.3681, allocations: 108.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.3682, allocations: 87.27 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3682, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002535/0.3684, allocations: 0 / 1.333 GB, free: 10.84 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.0002/0.3686, allocations: 174.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.079e-05/0.3687, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3687, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.3687, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3691, allocations: 462.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.3694, allocations: 182 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.792e-05/0.3694, allocations: 63.44 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.3694, allocations: 7.438 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3694, allocations: 3.938 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of Templates: time 0.001517/0.371, allocations: 315.8 kB / 1.334 GB, free: 9.59 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.860771750099957]