Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",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.007795/0.007795, allocations: 96.06 kB / 15.73 MB, free: 6.055 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.002143/0.002143, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2844, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7845/1.069, allocations: 253.4 MB / 1.489 GB, free: 10.33 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02675/1.096, allocations: 20.62 MB / 1.509 GB, free: 5.656 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.098, allocations: 71.5 kB / 1.509 GB, free: 5.586 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/1.1, allocations: 0.8336 MB / 1.51 GB, free: 4.746 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006925/1.107, allocations: 2.908 MB / 1.513 GB, free: 1.828 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006156/1.113, allocations: 2.746 MB / 1.515 GB, free: 15.09 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0047/1.118, allocations: 3.828 MB / 1.519 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/1.119, allocations: 1.305 MB / 1.52 GB, free: 9.93 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009313/1.129, allocations: 4.756 MB / 1.525 GB, free: 5.164 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/1.13, allocations: 0.9721 MB / 1.526 GB, free: 4.188 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/1.13, allocations: 108 kB / 1.526 GB, free: 4.082 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006653/1.137, allocations: 3.48 MB / 1.53 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006319/1.138, allocations: 0.6426 MB / 1.53 GB, free: 15.95 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.139, allocations: 0.9795 MB / 1.531 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005814/1.144, allocations: 4.166 MB / 1.535 GB, free: 10.79 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/1.144, allocations: 0 / 1.535 GB, free: 10.79 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.283e-06/1.144, allocations: 0 / 1.535 GB, free: 10.79 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.951e-05/1.144, allocations: 0 / 1.535 GB, free: 10.79 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002974/1.147, allocations: 2.373 MB / 1.537 GB, free: 8.352 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/1.148, allocations: 11.97 kB / 1.538 GB, free: 8.34 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/1.148, allocations: 190 kB / 1.538 GB, free: 8.145 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/1.15, allocations: 494.2 kB / 1.538 GB, free: 7.66 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/1.152, allocations: 1.389 MB / 1.54 GB, free: 6.219 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/1.152, allocations: 98.42 kB / 1.54 GB, free: 6.121 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.152, allocations: 124 kB / 1.54 GB, free: 6 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/1.155, allocations: 1.723 MB / 1.541 GB, free: 4.137 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/1.155, allocations: 7.938 kB / 1.541 GB, free: 4.129 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.155, allocations: 52 kB / 1.541 GB, free: 4.078 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.873e-05/1.155, allocations: 63.92 kB / 1.542 GB, free: 4.016 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/1.157, allocations: 1.221 MB / 1.543 GB, free: 2.793 MB / 1.232 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.007533/1.164, allocations: 7.551 MB / 1.55 GB, free: 10.85 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009275/1.165, allocations: 0.6772 MB / 1.551 GB, free: 10.08 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007712/1.166, allocations: 0.6084 MB / 1.551 GB, free: 9.445 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/1.168, allocations: 1.867 MB / 1.553 GB, free: 7.172 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/1.168, allocations: 58.48 kB / 1.553 GB, free: 7.105 MB / 1.248 GB Notification: Performance of pre-optimization done (n=72): time 2.444e-06/1.168, allocations: 0 / 1.553 GB, free: 7.105 MB / 1.248 GB Notification: Performance of matching and sorting (n=72): time 0.002378/1.17, allocations: 1.406 MB / 1.555 GB, free: 5.695 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/1.17, allocations: 294.7 kB / 1.555 GB, free: 5.34 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/1.173, allocations: 1.884 MB / 1.557 GB, free: 3.418 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/1.173, allocations: 45.7 kB / 1.557 GB, free: 3.367 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/1.173, allocations: 0.7294 MB / 1.557 GB, free: 2.633 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/1.174, allocations: 253.8 kB / 1.558 GB, free: 2.383 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.174, allocations: 138.2 kB / 1.558 GB, free: 2.242 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.174, allocations: 333.9 kB / 1.558 GB, free: 1.91 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/1.175, allocations: 333.1 kB / 1.558 GB, free: 1.582 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/1.175, allocations: 0.5586 MB / 1.559 GB, free: 0.9766 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.176, allocations: 0.8568 MB / 1.56 GB, free: 72 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.176, allocations: 4 kB / 1.56 GB, free: 68 kB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00145/1.178, allocations: 1.016 MB / 1.561 GB, free: 15.04 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.178, allocations: 11.98 kB / 1.561 GB, free: 15.03 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.178, allocations: 4 kB / 1.561 GB, free: 15.03 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.178, allocations: 4 kB / 1.561 GB, free: 15.02 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/1.178, allocations: 123.8 kB / 1.561 GB, free: 14.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.178, allocations: 12 kB / 1.561 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/1.179, allocations: 134.8 kB / 1.561 GB, free: 14.76 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/1.179, allocations: 39.98 kB / 1.561 GB, free: 14.72 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005927/1.18, allocations: 465.5 kB / 1.562 GB, free: 14.25 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/1.18, allocations: 206.7 kB / 1.562 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/1.182, allocations: 1.075 MB / 1.563 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.182, allocations: 12 kB / 1.563 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.182, allocations: 4 kB / 1.563 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.182, allocations: 3.984 kB / 1.563 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.193, allocations: 8.765 MB / 1.571 GB, free: 3.68 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.193, allocations: 16 kB / 1.571 GB, free: 3.664 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/1.194, allocations: 147.7 kB / 1.572 GB, free: 3.52 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-05/1.194, allocations: 20 kB / 1.572 GB, free: 3.5 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/1.194, allocations: 40.58 kB / 1.572 GB, free: 3.461 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.682e-05/1.194, allocations: 27.92 kB / 1.572 GB, free: 3.434 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-05/1.194, allocations: 31.88 kB / 1.572 GB, free: 3.402 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/1.196, allocations: 1.677 MB / 1.573 GB, free: 1.508 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/1.196, allocations: 427.4 kB / 1.574 GB, free: 1.07 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.197, allocations: 35.94 kB / 1.574 GB, free: 1.035 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/1.197, allocations: 24 kB / 1.574 GB, free: 1.012 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/1.197, allocations: 103.5 kB / 1.574 GB, free: 0.9102 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/1.197, allocations: 59.98 kB / 1.574 GB, free: 0.8516 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001793/1.199, allocations: 1.316 MB / 1.575 GB, free: 15.52 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/1.199, allocations: 4 kB / 1.575 GB, free: 15.51 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001504/1.201, allocations: 0.5184 MB / 1.576 GB, free: 14.99 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004184/1.205, allocations: 3.017 MB / 1.579 GB, free: 11.75 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001269/1.206, allocations: 0.8535 MB / 1.58 GB, free: 10.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.206, allocations: 4 kB / 1.58 GB, free: 10.89 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006614/1.207, allocations: 483.3 kB / 1.58 GB, free: 10.43 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005761/1.213, allocations: 1.343 MB / 1.581 GB, free: 9.125 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.232, allocations: 13.91 MB / 1.595 GB, free: 10.52 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.233, allocations: 1.41 MB / 1.596 GB, free: 9.082 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00149/1.234, allocations: 498.5 kB / 1.597 GB, free: 8.59 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009201/1.235, allocations: 0.6555 MB / 1.597 GB, free: 7.934 MB / 1.295 GB Notification: Performance of SimCode: time 1.403e-06/1.235, allocations: 4 kB / 1.597 GB, free: 7.93 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.343, allocations: 60.08 MB / 1.656 GB, free: 12.36 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.68, allocations: 11.86 kB / 1.656 GB, free: 12.35 MB / 1.357 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches