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.0008361/0.0008361, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008147/0.0008147, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8851/0.8851, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.643/1.643, allocations: 359 MB / 0.6037 GB, free: 11.07 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.257e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001238/0.001261, allocations: 0.5873 MB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.246e-05/0.001303, allocations: 4 kB / 0.9511 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.001327, allocations: 0 / 0.9511 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.001351, allocations: 0 / 0.9511 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.602e-05/0.001377, allocations: 3.938 kB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.685e-05/0.001404, allocations: 4 kB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.001457, allocations: 7.938 kB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.001505, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.001534, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.001551, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.001568, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-06/0.001571, allocations: 4 kB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.001584, allocations: 3.984 kB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.001599, allocations: 0 / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.714e-05/0.001656, allocations: 3.984 kB / 0.9512 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.001659, allocations: 4 kB / 0.9512 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.22e-07/0.00166, allocations: 4 kB / 0.9512 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.001664, allocations: 0 / 0.9512 GB, free: 2.816 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.0002185/0.001882, allocations: 238.4 kB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.001918, allocations: 12.03 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.001944, allocations: 30.75 kB / 0.9514 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.502e-05/0.001959, allocations: 4.875 kB / 0.9514 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.683e-05/0.002026, allocations: 101.8 kB / 0.9515 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.002035, allocations: 4.375 kB / 0.9515 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.002041, allocations: 384 / 0.9515 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.48e-05/0.002105, allocations: 30.27 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.002112, allocations: 4.188 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.002119, allocations: 4.312 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.002125, allocations: 8.062 kB / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.366e-05/0.002139, allocations: 4 kB / 0.9516 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.002382, allocations: 358.5 kB / 0.9519 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.002453, allocations: 165.1 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.002481, allocations: 88.11 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.002501, allocations: 75.28 kB / 0.9522 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.002537, allocations: 109.8 kB / 0.9523 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 5.92e-07/0.002538, allocations: 0 / 0.9523 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.349e-05/0.002591, allocations: 29.7 kB / 0.9524 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.002636, allocations: 134.7 kB / 0.9525 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.002698, allocations: 97.86 kB / 0.9526 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.002706, allocations: 25.7 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.002727, allocations: 80.14 kB / 0.9527 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.002729, allocations: 0 / 0.9527 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.002744, allocations: 9.719 kB / 0.9527 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.002818, allocations: 314.8 kB / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.002822, allocations: 0 / 0.953 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-06/0.002824, allocations: 3.938 kB / 0.953 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.066e-05/0.002845, allocations: 75.28 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.002864, allocations: 83.41 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.153e-05/0.002895, allocations: 37.62 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.002924, allocations: 79.28 kB / 0.9533 GB, free: 464 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.002942, allocations: 75.28 kB / 0.9533 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-05/0.002986, allocations: 158.5 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.726e-05/0.003004, allocations: 75.28 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-05/0.00305, allocations: 155.2 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.003092, allocations: 79.28 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.003108, allocations: 75.28 kB / 0.9539 GB, free: 15.84 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.775e-05/0.003186, allocations: 268.3 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.003228, allocations: 120.9 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.003267, allocations: 104.1 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.214e-05/0.003319, allocations: 180.4 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001802/0.0035, allocations: 180.3 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-05/0.003545, allocations: 192.2 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.003678, allocations: 368.3 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.003699, allocations: 104.9 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.003724, allocations: 112.7 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.001e-05/0.003764, allocations: 184.2 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.003808, allocations: 184.2 kB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.029e-05/0.003848, allocations: 180.3 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-05/0.00389, allocations: 180.3 kB / 0.9561 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.188e-05/0.003972, allocations: 303.8 kB / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.004006, allocations: 116.8 kB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.004053, allocations: 180.3 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.004097, allocations: 105 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.00414, allocations: 188.2 kB / 0.957 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.004162, allocations: 105 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.00419, allocations: 79.28 kB / 0.9571 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.00419, allocations: 4 kB / 0.9571 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001518/0.004342, allocations: 96 / 0.9571 GB, free: 12.28 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 0.0002406/0.004582, allocations: 0.8087 MB / 0.9579 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.016e-05/0.004613, allocations: 0 / 0.9579 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004614, allocations: 0 / 0.9579 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.004615, allocations: 0 / 0.9579 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.004862, allocations: 459.7 kB / 0.9584 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.005662, allocations: 1.532 MB / 0.9599 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.005698, allocations: 55.36 kB / 0.9599 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.752e-06/0.005705, allocations: 4.125 kB / 0.9599 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.005728, allocations: 8.5 kB / 0.9599 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.005728, allocations: 0 / 0.9599 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.0188, allocations: 1.552 MB / 0.9615 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/6.898, allocations: 0 / 0.9615 GB, free: 7.867 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/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: 10.850342478603125]