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.002111/0.002111, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.002517/0.002517, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.587/1.587, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.805/2.805, allocations: 476.7 MB / 0.7672 GB, free: 5.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.91 kB / 1.112 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8482, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001974/0.8502, allocations: 0.5901 MB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.484e-05/0.8502, allocations: 3.938 kB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.8503, allocations: 0 / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.8503, allocations: 0 / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.159e-05/0.8503, allocations: 0 / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.652e-05/0.8504, allocations: 0 / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.8504, allocations: 4 kB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.8505, allocations: 4 kB / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.8505, allocations: 0 / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.235e-05/0.8505, allocations: 4 kB / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.8506, allocations: 7.984 kB / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-06/0.8506, allocations: 3.938 kB / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.8506, allocations: 0 / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.8506, allocations: 3.938 kB / 1.279 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.477e-05/0.8507, allocations: 7.984 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8507, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8507, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8507, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 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.0003325/0.851, allocations: 311.4 kB / 1.279 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.851, allocations: 8.031 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.8511, allocations: 42.73 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.813e-05/0.8511, allocations: 0.9375 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.8512, allocations: 168.3 kB / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.8512, allocations: 384 / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.8513, allocations: 384 / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.352e-05/0.8513, allocations: 30.27 kB / 1.279 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8513, allocations: 3.938 kB / 1.279 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.8514, allocations: 0 / 1.279 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8514, allocations: 4 kB / 1.279 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.8514, allocations: 4 kB / 1.279 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.8517, allocations: 387.4 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.8518, allocations: 169.1 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.8518, allocations: 80.14 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.8519, allocations: 79.28 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.8519, allocations: 109.8 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.8519, allocations: 4 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.207e-05/0.852, allocations: 33.62 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.8521, allocations: 126.7 kB / 1.28 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.8522, allocations: 93.86 kB / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.8522, allocations: 25.7 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.8522, allocations: 88.27 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.8522, allocations: 3.938 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.8522, allocations: 9.719 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8524, allocations: 314.8 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-06/0.8524, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.416e-06/0.8524, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.8524, allocations: 79.27 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/0.8524, allocations: 79.22 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.838e-05/0.8525, allocations: 37.64 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.8525, allocations: 79.28 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.8526, allocations: 75.28 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.348e-05/0.8526, allocations: 154.6 kB / 1.281 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.079e-05/0.8527, allocations: 83.22 kB / 1.281 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.075e-05/0.8527, allocations: 158.5 kB / 1.282 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.8528, allocations: 83.22 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.8529, allocations: 83.25 kB / 1.282 GB, free: 9.566 MB / 0.9825 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.0001369/0.853, allocations: 264.3 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.8531, allocations: 102.7 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.8531, allocations: 112 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.899e-05/0.8532, allocations: 184.2 kB / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.608e-05/0.8533, allocations: 188.2 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-05/0.8534, allocations: 176.3 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.8536, allocations: 401.2 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-05/0.8537, allocations: 112.9 kB / 1.283 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.8537, allocations: 101 kB / 1.283 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.588e-05/0.8538, allocations: 184.2 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-05/0.8539, allocations: 176.3 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.596e-05/0.854, allocations: 180.3 kB / 1.284 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.222e-05/0.8541, allocations: 188.2 kB / 1.284 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.8543, allocations: 312.1 kB / 1.284 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.8543, allocations: 178.1 kB / 1.285 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.8544, allocations: 180.2 kB / 1.285 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.8545, allocations: 121 kB / 1.285 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.8546, allocations: 176.3 kB / 1.285 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.8547, allocations: 104.9 kB / 1.285 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.8547, allocations: 83.28 kB / 1.285 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8547, allocations: 0 / 1.285 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002667/0.855, allocations: 3.938 kB / 1.285 GB, free: 5.887 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.0004835/0.8554, allocations: 0.8054 MB / 1.286 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.477e-05/0.8555, allocations: 11.94 kB / 1.286 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8555, allocations: 0 / 1.286 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.8555, allocations: 0 / 1.286 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.8559, allocations: 455.7 kB / 1.286 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.8571, allocations: 1.528 MB / 1.288 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.8574, allocations: 0.6767 MB / 1.289 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.782e-06/0.8574, allocations: 0 / 1.289 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.8574, allocations: 7.438 kB / 1.289 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/0.8574, allocations: 4 kB / 1.289 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.8816, allocations: 0.9333 MB / 1.289 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.892, allocations: 13.08 kB / 1.289 GB, free: 1.438 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/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: 15.16575994901359]