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.001528/0.001528, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001778/0.001778, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.793 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.408/3.408, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002056/0.002056, allocations: 73.27 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4151, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001881/0.417, allocations: 0.5429 MB / 1.326 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.92e-05/0.417, allocations: 3.938 kB / 1.326 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.4171, allocations: 4 kB / 1.326 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.4171, allocations: 3.938 kB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.4171, allocations: 0 / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.736e-05/0.4172, allocations: 4 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.4172, allocations: 3.984 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.4173, allocations: 0 / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.404e-05/0.4173, allocations: 0 / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.44e-05/0.4173, allocations: 8 kB / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.4174, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.4174, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.4174, allocations: 0 / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.4174, allocations: 4 kB / 1.326 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.033e-05/0.4175, allocations: 7.922 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4175, allocations: 0 / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4175, allocations: 0 / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4175, allocations: 4 kB / 1.326 GB, free: 1.301 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.0003438/0.4178, allocations: 238.4 kB / 1.326 GB, free: 1.035 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4179, allocations: 8.031 kB / 1.326 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.4179, allocations: 4.875 kB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.418, allocations: 106.5 kB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.418, allocations: 8.359 kB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.418, allocations: 384 / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.4181, allocations: 30.27 kB / 1.326 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4182, allocations: 192 / 1.326 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4182, allocations: 3.938 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.4182, allocations: 4 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.4182, allocations: 0 / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.4186, allocations: 335.1 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.4187, allocations: 165.6 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.4188, allocations: 88.16 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.4188, allocations: 79.22 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.4189, allocations: 109.8 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4189, allocations: 4 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001171/0.419, allocations: 33.64 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.4191, allocations: 130.7 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.4192, allocations: 89.86 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.4192, allocations: 25.7 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.4192, allocations: 80.14 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.4192, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.4192, allocations: 13.72 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4194, allocations: 314.8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.4194, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.4194, allocations: 8.125 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.241e-05/0.4194, allocations: 75.28 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/0.4195, allocations: 79.28 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.815e-05/0.4195, allocations: 37.58 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.4196, allocations: 87.22 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/0.4196, allocations: 75.28 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.89e-05/0.4197, allocations: 150.6 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.4197, allocations: 79.22 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.691e-05/0.4198, allocations: 158.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.4199, allocations: 83.2 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.4199, allocations: 79.28 kB / 1.329 GB, free: 14.39 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.0001314/0.42, allocations: 264.4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.4201, allocations: 108.9 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.4202, allocations: 108 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.994e-05/0.4202, allocations: 180.2 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-05/0.4203, allocations: 180.2 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-05/0.4204, allocations: 184.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.4206, allocations: 348.8 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.957e-05/0.4207, allocations: 116.9 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.4207, allocations: 101 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.673e-05/0.4208, allocations: 188.1 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/0.4209, allocations: 184.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.551e-05/0.421, allocations: 180.5 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-05/0.4211, allocations: 180.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.4213, allocations: 307.8 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.4213, allocations: 108.9 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/0.4214, allocations: 184.2 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.4215, allocations: 105 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.4216, allocations: 176.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.4217, allocations: 104.9 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.4217, allocations: 87.28 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4217, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002513/0.422, allocations: 0 / 1.332 GB, free: 10.88 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.0001729/0.4221, allocations: 174.5 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.72e-05/0.4222, allocations: 3.984 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4222, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.4222, allocations: 0 / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.4226, allocations: 459.6 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.4229, allocations: 152.3 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.597e-05/0.423, allocations: 59.45 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.184e-06/0.423, allocations: 3.938 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.423, allocations: 7.438 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.423, allocations: 0 / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of Templates: time 0.002297/0.4253, allocations: 140.8 kB / 1.333 GB, free: 9.832 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.60249693877995]