Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007687/0.0007687, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009263/0.001695, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001032/0.001032, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008902/0.001923, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9908/0.9908, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.095, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.447/2.447, allocations: 446.7 MB / 0.6745 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2536/2.7, allocations: 145.9 MB / 0.817 GB, free: 4.156 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.566e-05, allocations: 4.281 kB / 0.8183 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00122/0.001245, allocations: 0.6064 MB / 0.8189 GB, free: 2.227 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 1.558e-05/0.001261, allocations: 3.938 kB / 0.8189 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.001281, allocations: 3.938 kB / 0.8189 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.0013, allocations: 0 / 0.8189 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.109e-05/0.001311, allocations: 0 / 0.8189 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 1.711e-05/0.001328, allocations: 4 kB / 0.8189 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.001378, allocations: 4 kB / 0.8189 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.001418, allocations: 0 / 0.8189 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.001458, allocations: 0 / 0.8189 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.283e-05/0.00148, allocations: 4 kB / 0.8189 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.001497, allocations: 4 kB / 0.8189 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.001501, allocations: 0 / 0.8189 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.00151, allocations: 0 / 0.8189 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.001526, allocations: 3.938 kB / 0.8189 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.419e-05/0.00158, allocations: 0 / 0.8189 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.001594, allocations: 4 kB / 0.8189 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.61e-07/0.001595, allocations: 0 / 0.8189 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.001608, allocations: 0 / 0.8189 GB, free: 2.195 MB / 0.7917 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.000243/0.001851, allocations: 212.7 kB / 0.8191 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.001889, allocations: 8.625 kB / 0.8191 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.00191, allocations: 4.938 kB / 0.8191 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/0.001992, allocations: 109.7 kB / 0.8192 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.002001, allocations: 384 / 0.8192 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.002009, allocations: 4.375 kB / 0.8193 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.827e-05/0.002077, allocations: 34.25 kB / 0.8193 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.002084, allocations: 192 / 0.8193 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.00209, allocations: 384 / 0.8193 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.002094, allocations: 384 / 0.8193 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.149e-05/0.002105, allocations: 7.922 kB / 0.8193 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.00229, allocations: 294.9 kB / 0.8196 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.345e-05/0.002354, allocations: 169.1 kB / 0.8197 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.002374, allocations: 84.14 kB / 0.8198 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.002393, allocations: 75.28 kB / 0.8199 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.002428, allocations: 117.8 kB / 0.82 GB, free: 1 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 5.92e-07/0.002428, allocations: 0 / 0.82 GB, free: 1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 4.683e-05/0.002475, allocations: 29.64 kB / 0.82 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.002524, allocations: 130.6 kB / 0.8202 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.002581, allocations: 98.72 kB / 0.8202 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.002587, allocations: 29.64 kB / 0.8203 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.002618, allocations: 80.14 kB / 0.8204 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-07/0.002618, allocations: 0 / 0.8204 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.00264, allocations: 21.83 kB / 0.8204 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.002711, allocations: 310.8 kB / 0.8207 GB, free: 264 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-06/0.002714, allocations: 0 / 0.8207 GB, free: 264 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-06/0.002718, allocations: 0 / 0.8207 GB, free: 264 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.738e-05/0.002735, allocations: 75.28 kB / 0.8207 GB, free: 188 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/0.00276, allocations: 83.27 kB / 0.8208 GB, free: 104 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.292e-05/0.002793, allocations: 29.64 kB / 0.8208 GB, free: 68 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.002833, allocations: 85.31 kB / 0.8209 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.002853, allocations: 75.28 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/0.002891, allocations: 150.6 kB / 0.8211 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.257e-05/0.002913, allocations: 83.16 kB / 0.8212 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.154e-05/0.002955, allocations: 162.6 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.003006, allocations: 79.22 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.003024, allocations: 79.44 kB / 0.8215 GB, free: 15.36 MB / 0.8073 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 8.244e-05/0.003107, allocations: 260.4 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.00314, allocations: 105 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.003178, allocations: 107.9 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/0.003221, allocations: 180.3 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.567e-05/0.003266, allocations: 192.1 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.323e-05/0.00331, allocations: 188.3 kB / 0.8225 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.003429, allocations: 313.4 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/0.003458, allocations: 113 kB / 0.8229 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.003482, allocations: 101 kB / 0.823 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.003513, allocations: 108.9 kB / 0.8231 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.824e-05/0.003551, allocations: 180.3 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.003589, allocations: 176.3 kB / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-05/0.003629, allocations: 180.2 kB / 0.8236 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001254/0.003755, allocations: 188.2 kB / 0.8238 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.003845, allocations: 303.8 kB / 0.8241 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.003887, allocations: 180.2 kB / 0.8243 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.21e-05/0.003929, allocations: 105 kB / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.003977, allocations: 184.2 kB / 0.8246 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.004, allocations: 104.9 kB / 0.8247 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.187e-05/0.004012, allocations: 16.73 kB / 0.8247 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004012, allocations: 0 / 0.8247 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001307/0.004143, allocations: 0 / 0.8247 GB, free: 11.97 MB / 0.8073 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 8.512e-05/0.004228, allocations: 155.7 kB / 0.8248 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.36e-05/0.004262, allocations: 0 / 0.8248 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.004265, allocations: 0 / 0.8248 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.004265, allocations: 0 / 0.8248 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.004462, allocations: 467.7 kB / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.004644, allocations: 163.5 kB / 0.8254 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.862e-05/0.004672, allocations: 51.36 kB / 0.8255 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.894e-06/0.004674, allocations: 0 / 0.8255 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.004699, allocations: 51.36 kB / 0.8255 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.0047, allocations: 0 / 0.8255 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.001482/0.006181, allocations: 176.8 kB / 0.8257 GB, free: 10.87 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.113382704555988]