Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002024/0.002024, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002562/0.002562, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.49/1.49, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.729/2.729, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.528e-05, allocations: 4.25 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00177/0.001806, allocations: 0.5636 MB / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.43e-05/0.00185, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.001884, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.001914, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.892e-05/0.001943, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.112e-05/0.001974, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.002035, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.317e-05/0.002108, allocations: 8 kB / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.002139, allocations: 4 kB / 0.9516 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.499e-05/0.002164, allocations: 0 / 0.9516 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.002184, allocations: 0 / 0.9516 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-06/0.002188, allocations: 0 / 0.9516 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.002204, allocations: 3.984 kB / 0.9516 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.002226, allocations: 4 kB / 0.9516 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.096e-05/0.002287, allocations: 7.922 kB / 0.9516 GB, free: 11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002288, allocations: 3.938 kB / 0.9516 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002289, allocations: 0 / 0.9516 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.002299, allocations: 0 / 0.9516 GB, free: 10.99 MB / 0.8575 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.0003742/0.002673, allocations: 242.4 kB / 0.9518 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.002723, allocations: 12.03 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.002751, allocations: 4.938 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.002887, allocations: 109.7 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.002901, allocations: 384 / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.002912, allocations: 384 / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.062e-05/0.003003, allocations: 30.27 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.003013, allocations: 192 / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.003021, allocations: 384 / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.003026, allocations: 384 / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.003043, allocations: 3.938 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.003423, allocations: 335.1 kB / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.003544, allocations: 173.2 kB / 0.9524 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.003604, allocations: 80.14 kB / 0.9525 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.003652, allocations: 75.28 kB / 0.9526 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.817e-05/0.003721, allocations: 113.8 kB / 0.9527 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.003722, allocations: 0 / 0.9527 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.185e-05/0.003804, allocations: 33.58 kB / 0.9527 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.00388, allocations: 126.7 kB / 0.9529 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.003987, allocations: 93.86 kB / 0.9529 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.004003, allocations: 25.7 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.004056, allocations: 84.27 kB / 0.953 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.004058, allocations: 0 / 0.953 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.004083, allocations: 13.7 kB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.004268, allocations: 314.8 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.004275, allocations: 4 kB / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-06/0.004279, allocations: 0 / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.004317, allocations: 75.28 kB / 0.9534 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.333e-05/0.004351, allocations: 75.28 kB / 0.9535 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.857e-05/0.004409, allocations: 37.58 kB / 0.9535 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.004471, allocations: 79.28 kB / 0.9536 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/0.004511, allocations: 79.22 kB / 0.9537 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.595e-05/0.004607, allocations: 158.6 kB / 0.9538 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.262e-05/0.004649, allocations: 87.19 kB / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-05/0.00473, allocations: 150.6 kB / 0.9541 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.004812, allocations: 83.86 kB / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.004851, allocations: 79.28 kB / 0.9542 GB, free: 8.086 MB / 0.8575 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.0001578/0.005008, allocations: 256.4 kB / 0.9545 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.005095, allocations: 109 kB / 0.9546 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.00516, allocations: 119.8 kB / 0.9547 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/0.005262, allocations: 176.3 kB / 0.9549 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/0.005363, allocations: 184.2 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/0.005473, allocations: 188.5 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.005723, allocations: 356.8 kB / 0.9556 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.899e-05/0.005782, allocations: 105 kB / 0.9557 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.005838, allocations: 101 kB / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.997e-05/0.005938, allocations: 184.2 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.006041, allocations: 180.3 kB / 0.9561 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.742e-05/0.006138, allocations: 184.1 kB / 0.9563 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-05/0.006238, allocations: 184.2 kB / 0.9564 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.006439, allocations: 299.8 kB / 0.9567 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.006495, allocations: 105 kB / 0.9568 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.006604, allocations: 192.2 kB / 0.957 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.006694, allocations: 108.9 kB / 0.9571 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.006819, allocations: 176.3 kB / 0.9573 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.006893, allocations: 108.9 kB / 0.9574 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.00694, allocations: 75.28 kB / 0.9575 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.00694, allocations: 0 / 0.9575 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002414/0.007181, allocations: 0 / 0.9575 GB, free: 4.582 MB / 0.8575 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.0002057/0.007387, allocations: 174.5 kB / 0.9576 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.198e-05/0.007439, allocations: 4 kB / 0.9576 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007441, allocations: 4.094 kB / 0.9576 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.007442, allocations: 4 kB / 0.9576 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.00794, allocations: 455.6 kB / 0.9581 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.008216, allocations: 160.2 kB / 0.9582 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.839e-05/0.008284, allocations: 59.3 kB / 0.9583 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.445e-06/0.008287, allocations: 0 / 0.9583 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.008304, allocations: 12.48 kB / 0.9583 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.008305, allocations: 0 / 0.9583 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Templates: time 0.002351/0.01066, allocations: 160.7 kB / 0.9585 GB, free: 3.508 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.122811578214169]