Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.BoundaryWithXi_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.004659/0.004659, allocations: 96.7 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.001349/0.001349, allocations: 194.9 kB / 16.67 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.258/1.258, 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.1.0-maint.11.x/package.mo): time 2.555/2.555, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 67.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2579, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.684/0.9419, allocations: 214.1 MB / 1.429 GB, free: 12.74 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.955, allocations: 12.16 MB / 1.441 GB, free: 2.832 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.9557, allocations: 44.12 kB / 1.441 GB, free: 2.812 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009906/0.9567, allocations: 0.5067 MB / 1.442 GB, free: 2.352 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.9604, allocations: 1.877 MB / 1.443 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.9657, allocations: 1.904 MB / 1.445 GB, free: 14.84 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002483/0.9682, allocations: 2.375 MB / 1.448 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.9696, allocations: 1.207 MB / 1.449 GB, free: 11.24 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009475/0.9705, allocations: 0.8327 MB / 1.45 GB, free: 10.41 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006954/0.9712, allocations: 0.6534 MB / 1.45 GB, free: 9.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.9714, allocations: 88 kB / 1.45 GB, free: 9.664 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004093/0.9755, allocations: 2.696 MB / 1.453 GB, free: 6.961 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.9759, allocations: 0.5415 MB / 1.454 GB, free: 6.418 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.9766, allocations: 0.7231 MB / 1.454 GB, free: 5.691 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003387/0.98, allocations: 3.103 MB / 1.457 GB, free: 2.578 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.98, allocations: 4 kB / 1.457 GB, free: 2.574 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.092e-06/0.98, allocations: 0 / 1.457 GB, free: 2.574 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.98, allocations: 0 / 1.457 GB, free: 2.574 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001977/0.982, allocations: 1.777 MB / 1.459 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.982, allocations: 8.031 kB / 1.459 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.9822, allocations: 172.6 kB / 1.459 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.9836, allocations: 374.7 kB / 1.46 GB, free: 188 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.985, allocations: 0.9628 MB / 1.46 GB, free: 15.18 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.985, allocations: 74.03 kB / 1.461 GB, free: 15.11 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.9851, allocations: 108 kB / 1.461 GB, free: 15 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.9871, allocations: 1.501 MB / 1.462 GB, free: 13.39 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.9871, allocations: 7.938 kB / 1.462 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/0.9872, allocations: 44 kB / 1.462 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.831e-05/0.9873, allocations: 65.47 kB / 1.462 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.9886, allocations: 1.017 MB / 1.463 GB, free: 12.25 MB / 1.154 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.007257/0.9959, allocations: 5.834 MB / 1.469 GB, free: 6.113 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.9964, allocations: 314.8 kB / 1.469 GB, free: 5.77 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.9967, allocations: 259.2 kB / 1.469 GB, free: 5.504 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/0.9974, allocations: 0.7081 MB / 1.47 GB, free: 4.648 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.9974, allocations: 46.55 kB / 1.47 GB, free: 4.594 MB / 1.154 GB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.9974, allocations: 0 / 1.47 GB, free: 4.594 MB / 1.154 GB Notification: Performance of matching and sorting (n=28): time 0.001144/0.9986, allocations: 0.6679 MB / 1.471 GB, free: 3.922 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.9986, allocations: 136.6 kB / 1.471 GB, free: 3.758 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1, allocations: 1.654 MB / 1.473 GB, free: 2.094 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/1.001, allocations: 37.64 kB / 1.473 GB, free: 2.051 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/1.001, allocations: 0.5543 MB / 1.473 GB, free: 1.492 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/1.001, allocations: 103 kB / 1.473 GB, free: 1.391 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.001, allocations: 65.7 kB / 1.473 GB, free: 1.32 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.001, allocations: 321.9 kB / 1.474 GB, free: 1 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/1.002, allocations: 163.9 kB / 1.474 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/1.002, allocations: 294.1 kB / 1.474 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/1.002, allocations: 434 kB / 1.474 GB, free: 56 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.002, allocations: 0 / 1.474 GB, free: 56 kB / 1.154 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007359/1.003, allocations: 0.5711 MB / 1.475 GB, free: 15.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.003, allocations: 8 kB / 1.475 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.003, allocations: 0.9375 kB / 1.475 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.003, allocations: 4 kB / 1.475 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/1.003, allocations: 59.91 kB / 1.475 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.003, allocations: 4 kB / 1.475 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/1.004, allocations: 111.2 kB / 1.475 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/1.004, allocations: 23.98 kB / 1.475 GB, free: 15.27 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004051/1.004, allocations: 381.5 kB / 1.476 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/1.005, allocations: 143.1 kB / 1.476 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/1.005, allocations: 386.5 kB / 1.476 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.005, allocations: 4 kB / 1.476 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.005, allocations: 0 / 1.476 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.005, allocations: 8 kB / 1.476 GB, free: 14.33 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/1.008, allocations: 2.52 MB / 1.479 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.008, allocations: 4 kB / 1.479 GB, free: 11.62 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/1.008, allocations: 52.73 kB / 1.479 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.008, allocations: 8 kB / 1.479 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.008, allocations: 19.92 kB / 1.479 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/1.008, allocations: 11.94 kB / 1.479 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.008, allocations: 11.94 kB / 1.479 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/1.009, allocations: 0.6168 MB / 1.479 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/1.009, allocations: 304 kB / 1.48 GB, free: 10.49 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/1.009, allocations: 19.92 kB / 1.48 GB, free: 10.47 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/1.01, allocations: 12 kB / 1.48 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/1.01, allocations: 35.8 kB / 1.48 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/1.01, allocations: 20.06 kB / 1.48 GB, free: 10.41 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001379/1.011, allocations: 1.211 MB / 1.481 GB, free: 9.199 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.011, allocations: 0 / 1.481 GB, free: 9.199 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007315/1.012, allocations: 331.4 kB / 1.481 GB, free: 8.875 MB / 1.17 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.002075/1.014, allocations: 1.673 MB / 1.483 GB, free: 7.109 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005044/1.015, allocations: 360.6 kB / 1.483 GB, free: 6.758 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.015, allocations: 3.938 kB / 1.483 GB, free: 6.754 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/1.015, allocations: 161.3 kB / 1.483 GB, free: 6.598 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.019, allocations: 0.9138 MB / 1.484 GB, free: 5.711 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.032, allocations: 10.42 MB / 1.494 GB, free: 10.93 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/1.033, allocations: 1.201 MB / 1.496 GB, free: 9.695 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006483/1.033, allocations: 302.6 kB / 1.496 GB, free: 9.395 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/1.034, allocations: 459.3 kB / 1.496 GB, free: 8.949 MB / 1.186 GB Notification: Performance of SimCode: time 2.2e-07/1.034, allocations: 0 / 1.496 GB, free: 8.949 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.957/2.99, allocations: 43.8 MB / 1.539 GB, free: 13.61 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/19.59, allocations: 5.562 kB / 1.539 GB, free: 13.6 MB / 1.232 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches