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.001664/0.001664, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002045/0.002045, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.479/1.479, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.962/2.962, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.00215/0.00215, allocations: 63.91 kB / 0.982 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001618/1.05, allocations: 0.5562 MB / 1.154 GB, free: 33.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.748e-05/1.05, allocations: 0 / 1.154 GB, free: 33.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/1.05, allocations: 3.938 kB / 1.154 GB, free: 33.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/1.05, allocations: 0 / 1.154 GB, free: 33.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.582e-05/1.05, allocations: 0 / 1.154 GB, free: 33.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.245e-05/1.05, allocations: 4 kB / 1.154 GB, free: 33.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.179e-05/1.05, allocations: 3.156 kB / 1.154 GB, free: 33.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.347e-05/1.05, allocations: 7.406 kB / 1.154 GB, free: 33.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/1.05, allocations: 0 / 1.154 GB, free: 33.01 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 2.085e-05/1.05, allocations: 10.81 kB / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/1.05, allocations: 0 / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-06/1.05, allocations: 0 / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/1.05, allocations: 0 / 1.154 GB, free: 33 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/1.05, allocations: 3.984 kB / 1.155 GB, free: 33 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.704e-05/1.051, allocations: 6.812 kB / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.051, allocations: 4 kB / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.442e-06/1.051, allocations: 0 / 1.155 GB, free: 32.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.051, allocations: 0 / 1.155 GB, free: 32.99 MB / 1.076 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.0002389/1.051, allocations: 236.3 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/1.051, allocations: 8.906 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/1.051, allocations: 7.812 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.028e-05/1.051, allocations: 102.5 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/1.051, allocations: 384 / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/1.051, allocations: 3.344 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.34e-05/1.051, allocations: 30.27 kB / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/1.051, allocations: 192 / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/1.051, allocations: 10.38 kB / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/1.051, allocations: 0 / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.502e-05/1.051, allocations: 3.938 kB / 1.155 GB, free: 32.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/1.051, allocations: 329.2 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/1.051, allocations: 173.1 kB / 1.155 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/1.051, allocations: 80.14 kB / 1.155 GB, free: 31.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/1.051, allocations: 82.41 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.051, allocations: 117.2 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/1.051, allocations: 0 / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.076e-05/1.051, allocations: 28.64 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/1.051, allocations: 126.7 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/1.051, allocations: 93.86 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/1.051, allocations: 28.8 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/1.052, allocations: 84.27 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/1.052, allocations: 0 / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/1.052, allocations: 9.719 kB / 1.156 GB, free: 31.35 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/1.052, allocations: 317.2 kB / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/1.052, allocations: 0 / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-06/1.052, allocations: 0 / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.242e-05/1.052, allocations: 79.22 kB / 1.156 GB, free: 30.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/1.052, allocations: 75.28 kB / 1.156 GB, free: 30.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.597e-05/1.052, allocations: 40.52 kB / 1.156 GB, free: 30.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.052, allocations: 81.03 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.052, allocations: 78.38 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/1.052, allocations: 162.5 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.208e-05/1.052, allocations: 82.64 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/1.052, allocations: 157.3 kB / 1.157 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.822e-05/1.052, allocations: 75.28 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/1.052, allocations: 78.25 kB / 1.157 GB, free: 30.16 MB / 1.076 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 5.173e-05/1.052, allocations: 257.2 kB / 1.157 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/1.052, allocations: 115.7 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/1.052, allocations: 107.4 kB / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.052, allocations: 183.1 kB / 1.158 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/1.052, allocations: 176.3 kB / 1.158 GB, free: 29.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/1.052, allocations: 183.4 kB / 1.158 GB, free: 29.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/1.052, allocations: 360.2 kB / 1.158 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.052, allocations: 101 kB / 1.159 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/1.052, allocations: 104.9 kB / 1.159 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.289e-05/1.052, allocations: 186.5 kB / 1.159 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.052, allocations: 180.3 kB / 1.159 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-05/1.052, allocations: 183.3 kB / 1.159 GB, free: 27.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-05/1.052, allocations: 180.3 kB / 1.159 GB, free: 27.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.286e-05/1.052, allocations: 305.6 kB / 1.16 GB, free: 27.47 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/1.052, allocations: 104.9 kB / 1.16 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/1.052, allocations: 187 kB / 1.16 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/1.052, allocations: 112.3 kB / 1.16 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/1.052, allocations: 186.9 kB / 1.16 GB, free: 26.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/1.052, allocations: 101 kB / 1.16 GB, free: 26.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.945e-05/1.052, allocations: 77.72 kB / 1.16 GB, free: 26.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.052, allocations: 0 / 1.16 GB, free: 26.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002512/1.053, allocations: 0 / 1.16 GB, free: 26.7 MB / 1.076 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 9.091e-05/1.053, allocations: 172.3 kB / 1.161 GB, free: 26.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 3.625e-05/1.053, allocations: 5.688 kB / 1.161 GB, free: 26.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.053, allocations: 4.094 kB / 1.161 GB, free: 26.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/1.053, allocations: 2.438 kB / 1.161 GB, free: 26.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/1.053, allocations: 458.8 kB / 1.161 GB, free: 26.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/1.053, allocations: 151.1 kB / 1.161 GB, free: 25.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/1.053, allocations: 65.27 kB / 1.161 GB, free: 25.83 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.013e-06/1.053, allocations: 0 / 1.161 GB, free: 25.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-06/1.053, allocations: 8.5 kB / 1.161 GB, free: 25.82 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/1.053, allocations: 0 / 1.161 GB, free: 25.82 MB / 1.076 GB Notification: Performance of Templates: time 0.001824/1.055, allocations: 152 kB / 1.161 GB, free: 25.76 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.129201496951282]