Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 202.9 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.929/2.929, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.84 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8499, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00184/0.8517, allocations: 0.5823 MB / 1.275 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.351e-05/0.8518, allocations: 7.938 kB / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.8518, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.8518, allocations: 4 kB / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.487e-05/0.8518, allocations: 0 / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.21e-05/0.8519, allocations: 0 / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.299e-05/0.8519, allocations: 0 / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.852, allocations: 8 kB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.852, allocations: 4 kB / 1.275 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.975e-05/0.852, allocations: 3.984 kB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.852, allocations: 0 / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-06/0.852, allocations: 0 / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.852, allocations: 4 kB / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.852, allocations: 0 / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.391e-05/0.8521, allocations: 3.938 kB / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.682e-05/0.8521, allocations: 3.984 kB / 1.275 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8521, allocations: 4 kB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.8521, allocations: 0 / 1.275 GB, free: 3.93 MB / 0.9669 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.0003472/0.8525, allocations: 320.5 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8525, allocations: 12.06 kB / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.8525, allocations: 4.875 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.8527, allocations: 164.4 kB / 1.275 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.8527, allocations: 4.375 kB / 1.275 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.8527, allocations: 384 / 1.275 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.8528, allocations: 30.27 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.8528, allocations: 192 / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8528, allocations: 3.938 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.8528, allocations: 0 / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.297e-05/0.8528, allocations: 0 / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.8532, allocations: 387.5 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.8533, allocations: 177.1 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.8533, allocations: 80.14 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.8534, allocations: 79.28 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/0.8534, allocations: 105.8 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.8534, allocations: 4 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.06e-05/0.8535, allocations: 29.64 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.8536, allocations: 126.7 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.8537, allocations: 97.84 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.8537, allocations: 25.7 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.8537, allocations: 84.14 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.8537, allocations: 4 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.8538, allocations: 13.84 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8539, allocations: 310.8 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-06/0.8539, allocations: 3.938 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.8539, allocations: 0 / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.854, allocations: 75.28 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.169e-05/0.854, allocations: 75.28 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.089e-05/0.8541, allocations: 37.58 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.8541, allocations: 79.28 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.069e-05/0.8541, allocations: 91.3 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.854e-05/0.8542, allocations: 150.6 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.703e-05/0.8543, allocations: 83.22 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.338e-05/0.8543, allocations: 150.6 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.8544, allocations: 83.22 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.8545, allocations: 75.28 kB / 1.278 GB, free: 0.793 MB / 0.9669 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.0001454/0.8546, allocations: 264.9 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.8547, allocations: 105 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.8547, allocations: 117.6 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.447e-05/0.8548, allocations: 176.3 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000121/0.8549, allocations: 180.2 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.393e-05/0.855, allocations: 188.2 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.8553, allocations: 405.2 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/0.8554, allocations: 104.9 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.8554, allocations: 105 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.036e-05/0.8555, allocations: 188.2 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.8556, allocations: 176.3 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-05/0.8557, allocations: 188.2 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.419e-05/0.8557, allocations: 176.3 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.8559, allocations: 312.1 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.856, allocations: 186 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/0.8561, allocations: 184.2 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.8562, allocations: 109 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.8563, allocations: 180.2 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.8563, allocations: 108.9 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.968e-05/0.8564, allocations: 75.28 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8564, allocations: 0 / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002544/0.8566, allocations: 0 / 1.281 GB, free: 13.12 MB / 0.9825 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.0001707/0.8568, allocations: 178.6 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.412e-05/0.8569, allocations: 0 / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8569, allocations: 3.938 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.8569, allocations: 4 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.8573, allocations: 469.4 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.8575, allocations: 168.2 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.8578, allocations: 0.669 MB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.783e-06/0.8579, allocations: 0 / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.8579, allocations: 7.438 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8579, allocations: 0 / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of Templates: time 0.002236/0.8601, allocations: 176.9 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.19025275297463]