Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008652/0.008652, allocations: 101.7 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 190.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.907/2.907, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 60.31 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3506, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 1.01/1.361, allocations: 214.1 MB / 1.416 GB, free: 12.05 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01729/1.378, allocations: 12.16 MB / 1.428 GB, free: 2.148 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/1.381, allocations: 44.53 kB / 1.428 GB, free: 2.129 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/1.383, allocations: 0.5043 MB / 1.429 GB, free: 1.668 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005899/1.389, allocations: 1.881 MB / 1.431 GB, free: 228 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/1.394, allocations: 1.904 MB / 1.432 GB, free: 14.82 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003753/1.398, allocations: 2.353 MB / 1.435 GB, free: 13.43 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/1.401, allocations: 1.23 MB / 1.436 GB, free: 12.76 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/1.403, allocations: 0.8381 MB / 1.437 GB, free: 12.06 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/1.404, allocations: 0.6574 MB / 1.437 GB, free: 11.4 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003572/1.405, allocations: 92 kB / 1.437 GB, free: 11.31 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006692/1.411, allocations: 2.698 MB / 1.44 GB, free: 8.609 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007804/1.412, allocations: 0.5415 MB / 1.441 GB, free: 8.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/1.413, allocations: 0.7386 MB / 1.441 GB, free: 7.324 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006661/1.42, allocations: 3.105 MB / 1.444 GB, free: 4.211 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.42, allocations: 0 / 1.444 GB, free: 4.211 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.232e-06/1.42, allocations: 4 kB / 1.444 GB, free: 4.207 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.614e-05/1.42, allocations: 0 / 1.444 GB, free: 4.207 MB / 1.123 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.002569/1.422, allocations: 1.748 MB / 1.446 GB, free: 2.402 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.423, allocations: 12.62 kB / 1.446 GB, free: 2.391 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/1.423, allocations: 168.8 kB / 1.446 GB, free: 2.215 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/1.424, allocations: 369.8 kB / 1.447 GB, free: 1.852 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/1.426, allocations: 0.9658 MB / 1.448 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/1.426, allocations: 74.06 kB / 1.448 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/1.426, allocations: 103.9 kB / 1.448 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/1.428, allocations: 1.533 MB / 1.449 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/1.428, allocations: 7.938 kB / 1.449 GB, free: 15.01 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/1.429, allocations: 51.98 kB / 1.449 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/1.429, allocations: 65.47 kB / 1.449 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.43, allocations: 1.021 MB / 1.45 GB, free: 13.88 MB / 1.139 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.006224/1.436, allocations: 5.848 MB / 1.456 GB, free: 7.715 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/1.437, allocations: 314.2 kB / 1.456 GB, free: 7.371 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/1.437, allocations: 247.4 kB / 1.457 GB, free: 7.117 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/1.438, allocations: 0.7081 MB / 1.457 GB, free: 6.262 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/1.438, allocations: 46.5 kB / 1.457 GB, free: 6.207 MB / 1.139 GB Notification: Performance of pre-optimization done (n=28): time 2.345e-06/1.438, allocations: 0 / 1.457 GB, free: 6.207 MB / 1.139 GB Notification: Performance of matching and sorting (n=28): time 0.001285/1.439, allocations: 0.6729 MB / 1.458 GB, free: 5.527 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/1.439, allocations: 132.5 kB / 1.458 GB, free: 5.367 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.441, allocations: 1.69 MB / 1.46 GB, free: 3.668 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/1.441, allocations: 29.7 kB / 1.46 GB, free: 3.633 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/1.442, allocations: 0.5583 MB / 1.46 GB, free: 3.07 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/1.442, allocations: 94.56 kB / 1.46 GB, free: 2.977 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/1.442, allocations: 65.69 kB / 1.461 GB, free: 2.906 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.442, allocations: 318 kB / 1.461 GB, free: 2.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/1.442, allocations: 155.9 kB / 1.461 GB, free: 2.438 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/1.442, allocations: 270.2 kB / 1.461 GB, free: 2.145 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/1.443, allocations: 418.5 kB / 1.462 GB, free: 1.707 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.443, allocations: 0 / 1.462 GB, free: 1.707 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007029/1.444, allocations: 0.5386 MB / 1.462 GB, free: 1.16 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.444, allocations: 4 kB / 1.462 GB, free: 1.156 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.444, allocations: 4.25 kB / 1.462 GB, free: 1.152 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.444, allocations: 12 kB / 1.462 GB, free: 1.141 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/1.444, allocations: 55.92 kB / 1.462 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.444, allocations: 3.938 kB / 1.462 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/1.445, allocations: 110.5 kB / 1.462 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/1.445, allocations: 20 kB / 1.462 GB, free: 0.9531 MB / 1.139 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.000413/1.445, allocations: 381.6 kB / 1.463 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.445, allocations: 138.2 kB / 1.463 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/1.446, allocations: 395.5 kB / 1.463 GB, free: 28 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.446, allocations: 4 kB / 1.463 GB, free: 24 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.446, allocations: 3.938 kB / 1.463 GB, free: 20 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.446, allocations: 0 / 1.463 GB, free: 20 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.449, allocations: 2.529 MB / 1.466 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.449, allocations: 4 kB / 1.466 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/1.449, allocations: 55.84 kB / 1.466 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.449, allocations: 8 kB / 1.466 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/1.449, allocations: 12 kB / 1.466 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.449, allocations: 8.078 kB / 1.466 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.449, allocations: 15.92 kB / 1.466 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/1.45, allocations: 0.6265 MB / 1.466 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/1.45, allocations: 291.2 kB / 1.467 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.451, allocations: 19.91 kB / 1.467 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/1.451, allocations: 12 kB / 1.467 GB, free: 12.15 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/1.451, allocations: 35.84 kB / 1.467 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/1.451, allocations: 16 kB / 1.467 GB, free: 12.1 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001401/1.452, allocations: 1.227 MB / 1.468 GB, free: 10.88 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.1e-07/1.452, allocations: 0 / 1.468 GB, free: 10.88 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009839/1.453, allocations: 323.8 kB / 1.468 GB, free: 10.56 MB / 1.154 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.002208/1.456, allocations: 1.663 MB / 1.47 GB, free: 8.797 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005557/1.456, allocations: 347.9 kB / 1.47 GB, free: 8.457 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.456, allocations: 4.062 kB / 1.47 GB, free: 8.453 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/1.456, allocations: 159.6 kB / 1.47 GB, free: 8.297 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.46, allocations: 0.9236 MB / 1.471 GB, free: 7.402 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.473, allocations: 10.47 MB / 1.482 GB, free: 12.59 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/1.474, allocations: 1.208 MB / 1.483 GB, free: 11.35 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001255/1.475, allocations: 298.7 kB / 1.483 GB, free: 11.05 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/1.476, allocations: 463.3 kB / 1.483 GB, free: 10.6 MB / 1.17 GB Notification: Performance of SimCode: time 1.343e-06/1.476, allocations: 0 / 1.483 GB, free: 10.6 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07751/1.553, allocations: 44.57 MB / 1.527 GB, free: 14.43 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/12.06, allocations: 7.984 kB / 1.527 GB, free: 14.43 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches