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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004522/0.004522, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001061/0.001061, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.545/2.545, allocations: 469.4 MB / 0.7422 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6826, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2409/0.9235, allocations: 253.3 MB / 1.467 GB, free: 4.016 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02552/0.9491, allocations: 20.59 MB / 1.487 GB, free: 15.37 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.951, allocations: 75.44 kB / 1.487 GB, free: 15.29 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.9533, allocations: 0.8415 MB / 1.488 GB, free: 14.45 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00691/0.9602, allocations: 3.04 MB / 1.491 GB, free: 11.39 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00621/0.9664, allocations: 2.785 MB / 1.494 GB, free: 8.617 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005232/0.9717, allocations: 3.835 MB / 1.498 GB, free: 4.77 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.9737, allocations: 1.304 MB / 1.499 GB, free: 3.43 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.9765, allocations: 1.445 MB / 1.5 GB, free: 1.984 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.978, allocations: 0.9914 MB / 1.501 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.9784, allocations: 108 kB / 1.501 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007698/0.9861, allocations: 3.978 MB / 1.505 GB, free: 12.89 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000748/0.9868, allocations: 0.6426 MB / 1.506 GB, free: 12.25 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.9883, allocations: 0.9756 MB / 1.507 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006266/0.9946, allocations: 4.158 MB / 1.511 GB, free: 7.098 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9946, allocations: 4 kB / 1.511 GB, free: 7.094 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9946, allocations: 4 kB / 1.511 GB, free: 7.09 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.548e-05/0.9947, allocations: 0 / 1.511 GB, free: 7.09 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.003941/0.9987, allocations: 2.358 MB / 1.513 GB, free: 4.672 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.9987, allocations: 12.62 kB / 1.513 GB, free: 4.66 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/0.999, allocations: 198 kB / 1.513 GB, free: 4.457 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/1.001, allocations: 494.1 kB / 1.514 GB, free: 3.973 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/1.004, allocations: 1.393 MB / 1.515 GB, free: 2.527 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/1.004, allocations: 98.38 kB / 1.515 GB, free: 2.43 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.004, allocations: 124 kB / 1.515 GB, free: 2.309 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/1.007, allocations: 1.708 MB / 1.517 GB, free: 472 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/1.007, allocations: 7.938 kB / 1.517 GB, free: 464 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.007, allocations: 51.98 kB / 1.517 GB, free: 412 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/1.007, allocations: 71.91 kB / 1.517 GB, free: 340 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/1.008, allocations: 1.221 MB / 1.518 GB, free: 15.11 MB / 1.248 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.007074/1.016, allocations: 7.551 MB / 1.526 GB, free: 7.168 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000832/1.016, allocations: 0.6539 MB / 1.526 GB, free: 6.422 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/1.017, allocations: 0.6264 MB / 1.527 GB, free: 5.766 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/1.019, allocations: 1.867 MB / 1.529 GB, free: 3.492 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.019, allocations: 58.47 kB / 1.529 GB, free: 3.426 MB / 1.248 GB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/1.019, allocations: 0 / 1.529 GB, free: 3.426 MB / 1.248 GB Notification: Performance of matching and sorting (n=72): time 0.00232/1.021, allocations: 1.396 MB / 1.53 GB, free: 2.023 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.021, allocations: 306.7 kB / 1.531 GB, free: 1.656 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/1.023, allocations: 1.884 MB / 1.532 GB, free: 15.73 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/1.024, allocations: 41.7 kB / 1.532 GB, free: 15.69 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/1.024, allocations: 0.7293 MB / 1.533 GB, free: 14.95 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/1.024, allocations: 261.8 kB / 1.533 GB, free: 14.7 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.025, allocations: 126.3 kB / 1.533 GB, free: 14.57 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.025, allocations: 337.8 kB / 1.534 GB, free: 14.23 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/1.025, allocations: 329.1 kB / 1.534 GB, free: 13.91 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/1.026, allocations: 0.5664 MB / 1.535 GB, free: 13.29 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/1.027, allocations: 0.857 MB / 1.536 GB, free: 12.39 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.027, allocations: 4 kB / 1.536 GB, free: 12.38 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001387/1.028, allocations: 1.023 MB / 1.537 GB, free: 11.35 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.028, allocations: 8 kB / 1.537 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.028, allocations: 7.984 kB / 1.537 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.028, allocations: 8 kB / 1.537 GB, free: 11.33 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/1.029, allocations: 123.8 kB / 1.537 GB, free: 11.21 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/1.029, allocations: 4 kB / 1.537 GB, free: 11.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/1.029, allocations: 134.8 kB / 1.537 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/1.03, allocations: 52.05 kB / 1.537 GB, free: 11.02 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.0005585/1.03, allocations: 453.5 kB / 1.537 GB, free: 10.57 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004044/1.031, allocations: 202.7 kB / 1.537 GB, free: 10.37 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.032, allocations: 1.08 MB / 1.539 GB, free: 9.277 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/1.032, allocations: 15.98 kB / 1.539 GB, free: 9.262 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.032, allocations: 4 kB / 1.539 GB, free: 9.258 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.032, allocations: 7.984 kB / 1.539 GB, free: 9.25 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/1.043, allocations: 8.757 MB / 1.547 GB, free: 15.99 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/1.043, allocations: 19.94 kB / 1.547 GB, free: 15.97 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/1.044, allocations: 140.6 kB / 1.547 GB, free: 15.83 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/1.044, allocations: 20 kB / 1.547 GB, free: 15.81 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.147e-05/1.044, allocations: 51.92 kB / 1.547 GB, free: 15.76 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-05/1.044, allocations: 27.86 kB / 1.547 GB, free: 15.73 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/1.044, allocations: 27.88 kB / 1.547 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/1.045, allocations: 1.669 MB / 1.549 GB, free: 13.82 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007427/1.046, allocations: 431.4 kB / 1.549 GB, free: 13.38 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/1.046, allocations: 39.98 kB / 1.549 GB, free: 13.34 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007453/1.047, allocations: 20 kB / 1.549 GB, free: 13.32 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.047, allocations: 111.5 kB / 1.55 GB, free: 13.21 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/1.047, allocations: 51.98 kB / 1.55 GB, free: 13.16 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001725/1.049, allocations: 1.32 MB / 1.551 GB, free: 11.82 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.3e-07/1.049, allocations: 0 / 1.551 GB, free: 11.82 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001609/1.051, allocations: 0.5223 MB / 1.551 GB, free: 11.3 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.003986/1.055, allocations: 3.014 MB / 1.554 GB, free: 8.062 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001185/1.056, allocations: 0.8457 MB / 1.555 GB, free: 7.219 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.056, allocations: 4 kB / 1.555 GB, free: 7.215 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/1.057, allocations: 491.3 kB / 1.556 GB, free: 6.738 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/1.062, allocations: 1.345 MB / 1.557 GB, free: 5.438 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5658/1.628, allocations: 13.91 MB / 1.571 GB, free: 334.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009631/1.629, allocations: 1.403 MB / 1.572 GB, free: 333.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001435/1.631, allocations: 488.7 kB / 1.572 GB, free: 333.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/1.631, allocations: 0.6547 MB / 1.573 GB, free: 332.9 MB / 1.279 GB Notification: Performance of SimCode: time 9.52e-07/1.631, allocations: 1.562 kB / 1.573 GB, free: 332.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07334/1.705, allocations: 60.08 MB / 1.632 GB, free: 286 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.67, allocations: 7 kB / 1.632 GB, free: 286 MB / 1.279 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 50 --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