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.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.000838/0.000838, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008258/0.0008258, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9117/0.9117, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.602/1.602, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.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 1.473e-06/1.473e-06, allocations: 0 / 0.9518 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.083e-05, allocations: 6.219 kB / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001034/0.001055, allocations: 0.595 MB / 0.9523 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 3.701e-05/0.001092, allocations: 3.984 kB / 0.9524 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.001116, allocations: 0 / 0.9524 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.00114, allocations: 0 / 0.9524 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.355e-05/0.001163, allocations: 0 / 0.9524 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.657e-05/0.00119, allocations: 4 kB / 0.9524 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.00124, allocations: 0 / 0.9524 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.001291, allocations: 7.938 kB / 0.9524 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.001319, allocations: 7.984 kB / 0.9524 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.697e-05/0.001336, allocations: 3.938 kB / 0.9524 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.001355, allocations: 0 / 0.9524 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-06/0.001358, allocations: 0 / 0.9524 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.00137, allocations: 0 / 0.9524 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.001385, allocations: 4 kB / 0.9524 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 4.804e-05/0.001433, allocations: 0 / 0.9524 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.001434, allocations: 3.938 kB / 0.9524 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.91e-07/0.001435, allocations: 4 kB / 0.9524 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.001438, allocations: 0 / 0.9524 GB, free: 2.328 MB / 0.9011 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.0002168/0.001655, allocations: 242.4 kB / 0.9526 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.001685, allocations: 8.031 kB / 0.9526 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.00171, allocations: 8.938 kB / 0.9526 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.953e-05/0.001779, allocations: 101.8 kB / 0.9527 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.001789, allocations: 384 / 0.9527 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.001796, allocations: 384 / 0.9527 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.118e-05/0.001867, allocations: 30.27 kB / 0.9528 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.001873, allocations: 192 / 0.9528 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.00188, allocations: 384 / 0.9528 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.001884, allocations: 4.375 kB / 0.9528 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.253e-05/0.001897, allocations: 3.938 kB / 0.9528 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.002114, allocations: 339.1 kB / 0.9531 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.996e-05/0.002174, allocations: 165.1 kB / 0.9532 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.002197, allocations: 80.14 kB / 0.9533 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.002222, allocations: 83.2 kB / 0.9534 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.002254, allocations: 109.8 kB / 0.9535 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.002255, allocations: 0 / 0.9535 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.008e-05/0.002305, allocations: 37.58 kB / 0.9535 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.002348, allocations: 126.7 kB / 0.9537 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.002402, allocations: 101.8 kB / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.002409, allocations: 25.7 kB / 0.9538 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.002434, allocations: 80.14 kB / 0.9539 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.002436, allocations: 0 / 0.9539 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.002451, allocations: 9.719 kB / 0.9539 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.002522, allocations: 314.8 kB / 0.9542 GB, free: 332 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.002526, allocations: 0 / 0.9542 GB, free: 332 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-06/0.002528, allocations: 0 / 0.9542 GB, free: 332 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.002548, allocations: 79.28 kB / 0.9542 GB, free: 252 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.002564, allocations: 75.28 kB / 0.9543 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.171e-05/0.002595, allocations: 41.77 kB / 0.9544 GB, free: 128 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.002621, allocations: 83.27 kB / 0.9544 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.00265, allocations: 79.22 kB / 0.9545 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.08e-05/0.002691, allocations: 158.5 kB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.679e-05/0.002708, allocations: 79.22 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/0.00274, allocations: 151.2 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.002781, allocations: 83.22 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.002796, allocations: 75.28 kB / 0.955 GB, free: 15.43 MB / 0.9167 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 7.598e-05/0.002872, allocations: 260.4 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.002906, allocations: 112.9 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.002938, allocations: 116 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.002976, allocations: 176.5 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.056e-05/0.003016, allocations: 184.2 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.694e-05/0.003053, allocations: 180.3 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.003174, allocations: 360.8 kB / 0.9564 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.003197, allocations: 101 kB / 0.9565 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.003218, allocations: 101 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.715e-05/0.003255, allocations: 184.2 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.003293, allocations: 180.2 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.983e-05/0.003333, allocations: 188.1 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-05/0.003373, allocations: 180.3 kB / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.766e-05/0.003451, allocations: 307.7 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.003477, allocations: 105 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.003523, allocations: 188.2 kB / 0.9578 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.003568, allocations: 108.9 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.003609, allocations: 176.3 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.003633, allocations: 108.9 kB / 0.9582 GB, free: 12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.003656, allocations: 79.27 kB / 0.9583 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.003656, allocations: 0 / 0.9583 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000148/0.003804, allocations: 0 / 0.9583 GB, free: 11.92 MB / 0.9167 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.189e-05/0.003886, allocations: 174.6 kB / 0.9584 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.362e-05/0.00392, allocations: 0 / 0.9584 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.003921, allocations: 0 / 0.9584 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.003924, allocations: 7.938 kB / 0.9585 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.00416, allocations: 455.7 kB / 0.9589 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.004333, allocations: 185.8 kB / 0.9591 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.354e-05/0.004367, allocations: 55.34 kB / 0.9591 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-06/0.004376, allocations: 12.5 kB / 0.9591 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of SimCode: time 3.8e-07/0.004377, allocations: 0 / 0.9591 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of Templates: time 0.0009348/0.005311, allocations: 322.2 kB / 0.9594 GB, free: 10.66 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.198394021950662]