Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001125/0.001125, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002552, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009341/0.0009341, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.002101, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.966/0.966, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09883/1.065, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.899/1.899, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5437/2.442, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.7294 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.847e-05, allocations: 8.031 kB / 0.7294 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002957/0.002995, allocations: 0.6443 MB / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 2.039e-05/0.003016, allocations: 0 / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.003049, allocations: 0 / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.003081, allocations: 0 / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.95e-05/0.0031, allocations: 0 / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.513e-05/0.003125, allocations: 0 / 0.73 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.003207, allocations: 8.766 kB / 0.73 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.003266, allocations: 10.73 kB / 0.73 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.003331, allocations: 8.656 kB / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.003369, allocations: 0.9844 kB / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.003397, allocations: 0 / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.003403, allocations: 0 / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.003427, allocations: 0.9844 kB / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.003457, allocations: 0 / 0.73 GB, free: 3.887 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.003559, allocations: 5.156 kB / 0.73 GB, free: 3.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.137e-05/0.00359, allocations: 1.094 kB / 0.73 GB, free: 3.883 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.003592, allocations: 1.406 kB / 0.73 GB, free: 3.883 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.407e-05/0.003616, allocations: 0 / 0.73 GB, free: 3.883 MB / 0.698 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.0004332/0.004049, allocations: 212.8 kB / 0.7302 GB, free: 3.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.00411, allocations: 12.78 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.004147, allocations: 0.9375 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.004276, allocations: 102.9 kB / 0.7303 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.004301, allocations: 5.312 kB / 0.7304 GB, free: 3.508 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.004311, allocations: 384 / 0.7304 GB, free: 3.508 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.004403, allocations: 26.27 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.004413, allocations: 2.094 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.00442, allocations: 1.188 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.004428, allocations: 384 / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.786e-05/0.004446, allocations: 12.38 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.004734, allocations: 292.1 kB / 0.7307 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.004844, allocations: 169.1 kB / 0.7308 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.556e-05/0.004879, allocations: 84.17 kB / 0.7309 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.004914, allocations: 80.11 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.00497, allocations: 109.8 kB / 0.7311 GB, free: 2.707 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.004971, allocations: 0 / 0.7311 GB, free: 2.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.725e-05/0.005048, allocations: 26.23 kB / 0.7311 GB, free: 2.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.005131, allocations: 136.3 kB / 0.7312 GB, free: 2.531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.005232, allocations: 99.8 kB / 0.7313 GB, free: 2.422 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.005248, allocations: 25.7 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.005302, allocations: 84.12 kB / 0.7314 GB, free: 2.305 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.005303, allocations: 4.812 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.005326, allocations: 9.719 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.005453, allocations: 316.1 kB / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-06/0.005459, allocations: 0 / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.005468, allocations: 7.438 kB / 0.7318 GB, free: 1.965 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.0055, allocations: 80.06 kB / 0.7318 GB, free: 1.887 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/0.005529, allocations: 75.28 kB / 0.7319 GB, free: 1.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.762e-05/0.005586, allocations: 32.22 kB / 0.7319 GB, free: 1.777 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.00563, allocations: 83.28 kB / 0.732 GB, free: 1.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.00566, allocations: 75.28 kB / 0.7321 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.715e-05/0.005728, allocations: 158.5 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.738e-05/0.005765, allocations: 84.09 kB / 0.7323 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.611e-05/0.005831, allocations: 158.5 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.005904, allocations: 75.28 kB / 0.7326 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.005935, allocations: 80.19 kB / 0.7326 GB, free: 1.074 MB / 0.698 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.0001261/0.006061, allocations: 260.3 kB / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.006124, allocations: 107.4 kB / 0.733 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.006194, allocations: 112 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/0.00626, allocations: 180.2 kB / 0.7333 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.778e-05/0.006328, allocations: 180.2 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.397e-05/0.006402, allocations: 184.7 kB / 0.7336 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.006625, allocations: 325.5 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/0.006666, allocations: 102.8 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.006714, allocations: 108.9 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.006759, allocations: 105.6 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.942e-05/0.006829, allocations: 180.2 kB / 0.7344 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.006907, allocations: 181.4 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.943e-05/0.006987, allocations: 180.6 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.884e-05/0.007075, allocations: 184.1 kB / 0.7349 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.007244, allocations: 305.2 kB / 0.7352 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.007312, allocations: 188.2 kB / 0.7354 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.00738, allocations: 102.1 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.007446, allocations: 180.2 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.007483, allocations: 105 kB / 0.7358 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.215e-05/0.007505, allocations: 10.05 kB / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007505, allocations: 0.875 kB / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002021/0.007707, allocations: 0 / 0.7358 GB, free: 13.7 MB / 0.7136 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.0001549/0.007862, allocations: 156.7 kB / 0.7359 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.993e-05/0.007912, allocations: 4.469 kB / 0.7359 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.007917, allocations: 1.594 kB / 0.7359 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.007917, allocations: 4 kB / 0.7359 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.008218, allocations: 455.7 kB / 0.7364 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.008468, allocations: 163 kB / 0.7365 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.008508, allocations: 57.44 kB / 0.7366 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.004e-06/0.00851, allocations: 0 / 0.7366 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.008541, allocations: 51.38 kB / 0.7366 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/0.008542, allocations: 0.5938 kB / 0.7366 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of Templates: time 0.001965/0.01051, allocations: 171.1 kB / 0.7368 GB, free: 12.6 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.102481263689697]