Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.0007612/0.0007612, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007514/0.0007514, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8327/0.8327, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.643/1.643, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.148e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5719/0.572, allocations: 189.5 MB / 1.166 GB, free: 0.9883 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.5834, allocations: 11.23 MB / 1.177 GB, free: 9.32 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.5848, allocations: 59.5 kB / 1.177 GB, free: 9.285 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5858, allocations: 0.5368 MB / 1.178 GB, free: 8.914 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.5896, allocations: 1.941 MB / 1.179 GB, free: 7.859 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.5935, allocations: 2.042 MB / 1.181 GB, free: 6.832 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002387/0.5959, allocations: 2.334 MB / 1.184 GB, free: 5.695 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009262/0.5968, allocations: 0.8494 MB / 1.185 GB, free: 5.289 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.6015, allocations: 3.464 MB / 1.188 GB, free: 3.801 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007011/0.6022, allocations: 0.6018 MB / 1.189 GB, free: 3.586 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.6023, allocations: 89.47 kB / 1.189 GB, free: 3.586 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.6056, allocations: 2.092 MB / 1.191 GB, free: 2.793 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.606, allocations: 0.5709 MB / 1.191 GB, free: 2.539 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.6064, allocations: 498.7 kB / 1.192 GB, free: 2.344 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.61, allocations: 3.191 MB / 1.195 GB, free: 1.293 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.61, allocations: 0 / 1.195 GB, free: 1.293 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.813e-06/0.61, allocations: 0 / 1.195 GB, free: 1.293 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.61, allocations: 4 kB / 1.195 GB, free: 1.289 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001812/0.6118, allocations: 1.695 MB / 1.196 GB, free: 160 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6119, allocations: 11.34 kB / 1.196 GB, free: 160 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.612, allocations: 173.5 kB / 1.197 GB, free: 44 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.613, allocations: 377.1 kB / 1.197 GB, free: 15.93 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.6141, allocations: 0.9051 MB / 1.198 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.6141, allocations: 76.66 kB / 1.198 GB, free: 15.37 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.306e-05/0.6142, allocations: 103.5 kB / 1.198 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.6157, allocations: 1.986 MB / 1.2 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.6157, allocations: 1.156 kB / 1.2 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.6158, allocations: 48.91 kB / 1.2 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/0.6158, allocations: 61.67 kB / 1.2 GB, free: 13.99 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.6167, allocations: 1.023 MB / 1.201 GB, free: 13.65 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.6203, allocations: 4.919 MB / 1.206 GB, free: 9.719 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.6207, allocations: 306.3 kB / 1.206 GB, free: 9.508 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.6208, allocations: 239.8 kB / 1.206 GB, free: 9.375 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.6211, allocations: 110.3 kB / 1.207 GB, free: 9.34 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6211, allocations: 47.72 kB / 1.207 GB, free: 9.293 MB / 1.042 GB Notification: Performance of pre-optimization done (n=28): time 2.334e-06/0.6211, allocations: 0 / 1.207 GB, free: 9.293 MB / 1.042 GB Notification: Performance of matching and sorting (n=28): time 0.0007519/0.6219, allocations: 0.6755 MB / 1.207 GB, free: 8.945 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.6219, allocations: 135.3 kB / 1.207 GB, free: 8.785 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6231, allocations: 1.682 MB / 1.209 GB, free: 7.91 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.6231, allocations: 32.39 kB / 1.209 GB, free: 7.875 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.6235, allocations: 0.5618 MB / 1.21 GB, free: 7.383 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.6235, allocations: 103.9 kB / 1.21 GB, free: 7.293 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.6236, allocations: 69 kB / 1.21 GB, free: 7.25 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.6236, allocations: 324.3 kB / 1.21 GB, free: 6.93 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.6238, allocations: 163 kB / 1.21 GB, free: 6.852 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.624, allocations: 417.4 kB / 1.211 GB, free: 6.492 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.6243, allocations: 406.4 kB / 1.211 GB, free: 6.238 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6243, allocations: 6.75 kB / 1.211 GB, free: 6.234 MB / 1.042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004337/0.6247, allocations: 0.5488 MB / 1.212 GB, free: 5.941 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6248, allocations: 5.281 kB / 1.212 GB, free: 5.941 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6248, allocations: 2.312 kB / 1.212 GB, free: 5.941 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6248, allocations: 10.86 kB / 1.212 GB, free: 5.934 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.6249, allocations: 54.7 kB / 1.212 GB, free: 5.922 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6249, allocations: 2.531 kB / 1.212 GB, free: 5.922 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.6252, allocations: 121.8 kB / 1.212 GB, free: 5.832 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.6252, allocations: 20.47 kB / 1.212 GB, free: 5.828 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0002855/0.6255, allocations: 381.4 kB / 1.212 GB, free: 5.562 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.6256, allocations: 142.8 kB / 1.212 GB, free: 5.484 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.626, allocations: 381.9 kB / 1.213 GB, free: 5.242 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.626, allocations: 2.938 kB / 1.213 GB, free: 5.242 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.626, allocations: 2.844 kB / 1.213 GB, free: 5.242 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.626, allocations: 3.984 kB / 1.213 GB, free: 5.238 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.6279, allocations: 2.251 MB / 1.215 GB, free: 3.625 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.628, allocations: 9.375 kB / 1.215 GB, free: 3.621 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.628, allocations: 49.5 kB / 1.215 GB, free: 3.609 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.6281, allocations: 14.31 kB / 1.215 GB, free: 3.605 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.6281, allocations: 12.09 kB / 1.215 GB, free: 3.602 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.6281, allocations: 11.97 kB / 1.215 GB, free: 3.598 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.6281, allocations: 5.188 kB / 1.215 GB, free: 3.598 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.6285, allocations: 0.6139 MB / 1.216 GB, free: 3.102 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.6287, allocations: 232.3 kB / 1.216 GB, free: 2.957 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.6288, allocations: 16.95 kB / 1.216 GB, free: 2.949 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.629, allocations: 12.19 kB / 1.216 GB, free: 2.945 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.629, allocations: 33 kB / 1.216 GB, free: 2.926 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.6291, allocations: 19.84 kB / 1.216 GB, free: 2.922 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000887/0.63, allocations: 1.22 MB / 1.217 GB, free: 2.273 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.63, allocations: 0 / 1.217 GB, free: 2.273 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0008537/0.6308, allocations: 336.4 kB / 1.217 GB, free: 2.207 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.001393/0.6322, allocations: 1.668 MB / 1.219 GB, free: 0.957 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.6325, allocations: 341.9 kB / 1.219 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6325, allocations: 2.875 kB / 1.219 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.6327, allocations: 159.7 kB / 1.219 GB, free: 0.7188 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.6345, allocations: 0.9249 MB / 1.22 GB, free: 256 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009145/0.6437, allocations: 10.58 MB / 1.231 GB, free: 9.434 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/0.6442, allocations: 0.6166 MB / 1.231 GB, free: 8.785 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0006953/0.6449, allocations: 306.6 kB / 1.232 GB, free: 8.48 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.6453, allocations: 464.4 kB / 1.232 GB, free: 8.023 MB / 1.057 GB Notification: Performance of SimCode: time 8.72e-07/0.6453, allocations: 0 / 1.232 GB, free: 8.023 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06265/0.7079, allocations: 48.14 MB / 1.279 GB, free: 8.746 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.328, allocations: 11.42 kB / 1.279 GB, free: 8.742 MB / 1.104 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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: 12.179630303755403]