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.002673/0.002673, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002659/0.002659, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.048/3.048, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.699e-05, allocations: 3 kB / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002557/0.002593, allocations: 0.5584 MB / 0.8114 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.535e-05/0.002639, allocations: 0 / 0.8114 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.002669, allocations: 0 / 0.8114 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.002692, allocations: 1.062 kB / 0.8114 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.002729, allocations: 0 / 0.8114 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.616e-05/0.002766, allocations: 0 / 0.8114 GB, free: 420 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.002829, allocations: 5.406 kB / 0.8114 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.002876, allocations: 0 / 0.8114 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.002916, allocations: 4 kB / 0.8114 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.551e-05/0.002941, allocations: 0.875 kB / 0.8114 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.002966, allocations: 0 / 0.8114 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-06/0.00297, allocations: 0 / 0.8114 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.002983, allocations: 4.969 kB / 0.8114 GB, free: 408 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.003001, allocations: 4 kB / 0.8114 GB, free: 404 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.032e-05/0.003061, allocations: 3.984 kB / 0.8114 GB, free: 400 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003063, allocations: 4.469 kB / 0.8114 GB, free: 396 kB / 0.7136 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003064, allocations: 1.25 kB / 0.8114 GB, free: 396 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003069, allocations: 0 / 0.8114 GB, free: 396 kB / 0.7136 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.0005062/0.003575, allocations: 348.3 kB / 0.8117 GB, free: 8 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.539e-05/0.00365, allocations: 13.39 kB / 0.8117 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.003689, allocations: 0.9375 kB / 0.8117 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.003839, allocations: 108.6 kB / 0.8118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.003853, allocations: 1 kB / 0.8118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.003874, allocations: 4.375 kB / 0.8118 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.625e-05/0.00397, allocations: 27.52 kB / 0.8119 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.003981, allocations: 192 / 0.8119 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.003991, allocations: 384 / 0.8119 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.003997, allocations: 2.812 kB / 0.8119 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.004026, allocations: 11.88 kB / 0.8119 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.00453, allocations: 474.2 kB / 0.8123 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.004744, allocations: 261.4 kB / 0.8126 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.004846, allocations: 126.9 kB / 0.8127 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.00493, allocations: 123.2 kB / 0.8128 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.005044, allocations: 161 kB / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.005045, allocations: 0 / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 9.698e-05/0.005142, allocations: 30.42 kB / 0.813 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.005265, allocations: 170.6 kB / 0.8132 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.005418, allocations: 154.5 kB / 0.8133 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.005439, allocations: 26.42 kB / 0.8133 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.005531, allocations: 132.1 kB / 0.8135 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.005533, allocations: 0 / 0.8135 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.005578, allocations: 23.38 kB / 0.8135 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000315/0.005893, allocations: 492.1 kB / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.005898, allocations: 1.531 kB / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-06/0.005901, allocations: 0 / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.005976, allocations: 119.2 kB / 0.8141 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.182e-05/0.006047, allocations: 123.2 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.532e-05/0.006123, allocations: 31.58 kB / 0.8142 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.083e-05/0.006214, allocations: 127.2 kB / 0.8143 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-05/0.006291, allocations: 123.1 kB / 0.8145 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.006451, allocations: 242.3 kB / 0.8147 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.006527, allocations: 127.1 kB / 0.8148 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/0.0067, allocations: 255.8 kB / 0.8151 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.006832, allocations: 119.2 kB / 0.8152 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/0.006905, allocations: 119.2 kB / 0.8153 GB, free: 12.19 MB / 0.7292 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.0002712/0.007177, allocations: 396.2 kB / 0.8157 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.007298, allocations: 148.8 kB / 0.8158 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.007423, allocations: 159.8 kB / 0.816 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001698/0.007592, allocations: 276.5 kB / 0.8162 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001827/0.007775, allocations: 268.1 kB / 0.8165 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001702/0.007945, allocations: 268.6 kB / 0.8167 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.008398, allocations: 0.489 MB / 0.8172 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/0.008499, allocations: 152.9 kB / 0.8174 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.008611, allocations: 149.6 kB / 0.8175 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.008784, allocations: 264.1 kB / 0.8178 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/0.008967, allocations: 268.6 kB / 0.818 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001873/0.009155, allocations: 275.9 kB / 0.8183 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000293/0.009448, allocations: 265.5 kB / 0.8185 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.009807, allocations: 444 kB / 0.8189 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.009912, allocations: 148.9 kB / 0.8191 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.01011, allocations: 272 kB / 0.8194 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.01028, allocations: 154 kB / 0.8195 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.01047, allocations: 268 kB / 0.8198 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.01059, allocations: 149.2 kB / 0.8199 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.897e-05/0.01069, allocations: 124.1 kB / 0.82 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01069, allocations: 0.8438 kB / 0.82 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004412/0.01113, allocations: 0 / 0.82 GB, free: 7.156 MB / 0.7292 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.0002479/0.01138, allocations: 219.7 kB / 0.8202 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.658e-05/0.01143, allocations: 3.938 kB / 0.8202 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01144, allocations: 0.6875 kB / 0.8202 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.01144, allocations: 0 / 0.8202 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.01227, allocations: 0.7031 MB / 0.8209 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.01264, allocations: 212.6 kB / 0.8211 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.01273, allocations: 60.91 kB / 0.8212 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.084e-06/0.01273, allocations: 0 / 0.8212 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.01275, allocations: 8.5 kB / 0.8212 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.01275, allocations: 3.938 kB / 0.8212 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of Templates: time 0.003222/0.01597, allocations: 175.8 kB / 0.8214 GB, free: 5.727 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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: 8.164477578015067]