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.00168/0.00168, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002061/0.002061, allocations: 220.2 kB / 23.04 MB, free: 4.852 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.177/3.177, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002114/0.002114, allocations: 63.8 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001835/0.3633, allocations: 0.5573 MB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.157e-05/0.3633, allocations: 4 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.3633, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.3634, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.316e-05/0.3634, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.115e-05/0.3634, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.3635, allocations: 11.92 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.856e-05/0.3635, allocations: 4 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.279e-05/0.3636, allocations: 0 / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.3636, allocations: 3.938 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3636, allocations: 4 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-06/0.3636, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.3636, allocations: 3.938 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.3636, allocations: 0 / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.975e-05/0.3637, allocations: 4 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3637, allocations: 0 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3637, allocations: 0 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3637, allocations: 0 / 1.328 GB, free: 356 kB / 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.0003143/0.364, allocations: 242.4 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.364, allocations: 8.031 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.3641, allocations: 0.9375 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3642, allocations: 110.5 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.3642, allocations: 384 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3642, allocations: 384 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.153e-05/0.3643, allocations: 30.27 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3643, allocations: 192 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3643, allocations: 3.938 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3643, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.636e-05/0.3643, allocations: 3.938 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.3647, allocations: 335.1 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.612e-05/0.3648, allocations: 169.6 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.3648, allocations: 88.12 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3649, allocations: 83.16 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.3649, allocations: 109.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3649, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.438e-05/0.365, allocations: 41.62 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.3651, allocations: 126.7 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.3651, allocations: 89.86 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3652, allocations: 25.7 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.3652, allocations: 88.12 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.3652, allocations: 128 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.3652, allocations: 13.72 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3654, allocations: 314.8 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.3654, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.3654, allocations: 7.938 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.3654, allocations: 75.28 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-05/0.3654, allocations: 75.28 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.616e-05/0.3655, allocations: 33.62 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.3655, allocations: 83.28 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/0.3656, allocations: 75.28 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.113e-05/0.3657, allocations: 154.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.007e-05/0.3657, allocations: 87.22 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.826e-05/0.3658, allocations: 154.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.3658, allocations: 79.28 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.3659, allocations: 79.28 kB / 1.33 GB, free: 13.43 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.0001321/0.366, allocations: 260.4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.3661, allocations: 108.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.3661, allocations: 108 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/0.3662, allocations: 180.2 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.378e-05/0.3663, allocations: 184.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-05/0.3664, allocations: 180.2 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.3666, allocations: 356.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/0.3666, allocations: 101 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.3667, allocations: 108.9 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.439e-05/0.3668, allocations: 188.2 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.3668, allocations: 180.3 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.298e-05/0.3669, allocations: 188.5 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.171e-05/0.367, allocations: 176.3 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.3672, allocations: 315.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.3672, allocations: 108.9 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.3673, allocations: 180.3 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.3674, allocations: 104.9 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.3675, allocations: 192.2 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.3675, allocations: 101 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.3676, allocations: 79.28 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3676, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002486/0.3678, allocations: 0 / 1.334 GB, free: 9.914 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.0001548/0.368, allocations: 174.5 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.688e-05/0.368, allocations: 3.938 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.368, allocations: 0 / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.368, allocations: 4.094 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3684, allocations: 457.7 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.3687, allocations: 190 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.3688, allocations: 51.36 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.3688, allocations: 7.438 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3688, allocations: 0 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of Templates: time 0.001696/0.3705, allocations: 320.8 kB / 1.335 GB, free: 8.664 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: 11.131420149002224]