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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004436/0.004436, allocations: 99.7 kB / 15.73 MB, free: 6.449 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.001313/0.001313, allocations: 197.6 kB / 16.68 MB, free: 6.352 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.485/2.485, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 63.91 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2522, allocations: 162.3 MB / 1.242 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6575/0.9097, allocations: 214.1 MB / 1.451 GB, free: 1.098 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.9227, allocations: 12.16 MB / 1.463 GB, free: 4.91 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.9233, allocations: 43.69 kB / 1.463 GB, free: 4.867 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.9243, allocations: 0.5119 MB / 1.463 GB, free: 4.352 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.9278, allocations: 1.874 MB / 1.465 GB, free: 2.469 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.9313, allocations: 1.905 MB / 1.467 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.9334, allocations: 2.348 MB / 1.469 GB, free: 14.22 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.9347, allocations: 1.234 MB / 1.471 GB, free: 12.97 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.9393, allocations: 2.971 MB / 1.473 GB, free: 9.992 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.94, allocations: 0.6533 MB / 1.474 GB, free: 9.336 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.9401, allocations: 92 kB / 1.474 GB, free: 9.246 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.9435, allocations: 2.486 MB / 1.477 GB, free: 6.754 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.944, allocations: 0.5416 MB / 1.477 GB, free: 6.211 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.9446, allocations: 0.7347 MB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.9478, allocations: 3.115 MB / 1.481 GB, free: 2.348 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9478, allocations: 0 / 1.481 GB, free: 2.348 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9478, allocations: 7.938 kB / 1.481 GB, free: 2.34 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.9478, allocations: 0 / 1.481 GB, free: 2.34 MB / 1.17 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.001869/0.9497, allocations: 1.793 MB / 1.483 GB, free: 500 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.9497, allocations: 8.031 kB / 1.483 GB, free: 492 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.9499, allocations: 168.8 kB / 1.483 GB, free: 312 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.9513, allocations: 386.7 kB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.9526, allocations: 0.9782 MB / 1.484 GB, free: 14.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.9526, allocations: 78.06 kB / 1.484 GB, free: 14.83 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.9528, allocations: 100 kB / 1.484 GB, free: 14.73 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.9546, allocations: 1.532 MB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.9547, allocations: 7.938 kB / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.9547, allocations: 44 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.9548, allocations: 65.47 kB / 1.486 GB, free: 12.97 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.9561, allocations: 1.025 MB / 1.487 GB, free: 11.95 MB / 1.186 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.005053/0.9612, allocations: 5.865 MB / 1.493 GB, free: 5.77 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.9617, allocations: 318.2 kB / 1.493 GB, free: 5.422 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.9619, allocations: 251.4 kB / 1.493 GB, free: 5.164 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/0.9626, allocations: 0.7116 MB / 1.494 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.9626, allocations: 38.55 kB / 1.494 GB, free: 4.258 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 3.947e-06/0.9626, allocations: 3.984 kB / 1.494 GB, free: 4.254 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001096/0.9637, allocations: 0.6781 MB / 1.495 GB, free: 3.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.9638, allocations: 132.5 kB / 1.495 GB, free: 3.41 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.9656, allocations: 1.686 MB / 1.496 GB, free: 1.715 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.9656, allocations: 33.7 kB / 1.496 GB, free: 1.676 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.9661, allocations: 0.5623 MB / 1.497 GB, free: 1.109 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.9662, allocations: 99.16 kB / 1.497 GB, free: 1.012 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.9663, allocations: 66.2 kB / 1.497 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9664, allocations: 318 kB / 1.497 GB, free: 0.625 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.9666, allocations: 159.9 kB / 1.498 GB, free: 480 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.9669, allocations: 268.4 kB / 1.498 GB, free: 180 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.9674, allocations: 409.8 kB / 1.498 GB, free: 15.75 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9674, allocations: 0 / 1.498 GB, free: 15.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006674/0.968, allocations: 0.5556 MB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.9681, allocations: 4 kB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9681, allocations: 4 kB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.9681, allocations: 4 kB / 1.499 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.9683, allocations: 51.91 kB / 1.499 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.9683, allocations: 11.88 kB / 1.499 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.9687, allocations: 114.9 kB / 1.499 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.9687, allocations: 20.19 kB / 1.499 GB, free: 14.98 MB / 1.201 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.0003914/0.9691, allocations: 385.6 kB / 1.499 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.9693, allocations: 143.1 kB / 1.499 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.9698, allocations: 389.2 kB / 1.5 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.9698, allocations: 4 kB / 1.5 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9699, allocations: 3.938 kB / 1.5 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.9699, allocations: 7.984 kB / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.9727, allocations: 2.509 MB / 1.502 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.9727, allocations: 8 kB / 1.502 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.9729, allocations: 47.92 kB / 1.502 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.9729, allocations: 8.812 kB / 1.502 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.9729, allocations: 15.98 kB / 1.502 GB, free: 11.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.9729, allocations: 15.94 kB / 1.502 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9729, allocations: 4 kB / 1.502 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.9736, allocations: 0.64 MB / 1.503 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.9739, allocations: 296 kB / 1.503 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.9741, allocations: 23.88 kB / 1.503 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.9744, allocations: 12 kB / 1.503 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.9744, allocations: 31.86 kB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.9745, allocations: 24.06 kB / 1.503 GB, free: 10.1 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001343/0.9758, allocations: 1.223 MB / 1.505 GB, free: 8.883 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9758, allocations: 4 kB / 1.505 GB, free: 8.879 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006728/0.9765, allocations: 323.5 kB / 1.505 GB, free: 8.562 MB / 1.201 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.001973/0.9785, allocations: 1.683 MB / 1.507 GB, free: 6.785 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.979, allocations: 355.5 kB / 1.507 GB, free: 6.438 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.979, allocations: 4 kB / 1.507 GB, free: 6.434 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.9792, allocations: 161.6 kB / 1.507 GB, free: 6.277 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.9823, allocations: 0.9247 MB / 1.508 GB, free: 5.383 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.9937, allocations: 10.53 MB / 1.518 GB, free: 10.52 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/0.9945, allocations: 1.201 MB / 1.519 GB, free: 9.285 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006315/0.9951, allocations: 306.6 kB / 1.52 GB, free: 8.98 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/0.9956, allocations: 463.3 kB / 1.52 GB, free: 8.527 MB / 1.217 GB Notification: Performance of SimCode: time 2.11e-07/0.9956, allocations: 0 / 1.52 GB, free: 8.527 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.515/8.51, allocations: 44.02 MB / 1.563 GB, free: 12.91 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/22.59, allocations: 10.06 kB / 1.563 GB, free: 12.91 MB / 1.264 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=400 --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