Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_11_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.001223/0.001222, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 196.3 kB / 16.53 MB, free: 6.699 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.542/2.542, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 62.75 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2509, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6359/0.8868, allocations: 214.1 MB / 1.273 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.8972, allocations: 12.17 MB / 1.285 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.898, allocations: 45.91 kB / 1.285 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.899, allocations: 0.5068 MB / 1.286 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.9024, allocations: 1.881 MB / 1.287 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.9059, allocations: 1.901 MB / 1.289 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002264/0.9082, allocations: 2.343 MB / 1.292 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.9095, allocations: 1.238 MB / 1.293 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009562/0.9105, allocations: 0.8171 MB / 1.294 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.9111, allocations: 0.6643 MB / 1.294 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.9113, allocations: 91.62 kB / 1.294 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.9155, allocations: 2.843 MB / 1.297 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.9159, allocations: 0.5417 MB / 1.298 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005994/0.9165, allocations: 0.7358 MB / 1.298 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.9196, allocations: 3.139 MB / 1.301 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9196, allocations: 1.125 kB / 1.301 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9196, allocations: 0 / 1.301 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.9196, allocations: 1.094 kB / 1.301 GB, free: 3.801 MB / 0.9981 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.001924/0.9216, allocations: 1.74 MB / 1.303 GB, free: 18.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.9216, allocations: 10.16 kB / 1.303 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.9218, allocations: 168.9 kB / 1.303 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.9232, allocations: 384.2 kB / 1.304 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/0.9242, allocations: 0.8872 MB / 1.304 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.9242, allocations: 83 kB / 1.305 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.9243, allocations: 103.3 kB / 1.305 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.926, allocations: 1.53 MB / 1.306 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.926, allocations: 5.406 kB / 1.306 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.9261, allocations: 51.16 kB / 1.306 GB, free: 18.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.196e-05/0.9262, allocations: 59.12 kB / 1.306 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.9273, allocations: 1.022 MB / 1.307 GB, free: 18.09 MB / 1.014 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.00517/0.9325, allocations: 5.958 MB / 1.313 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.9329, allocations: 320.8 kB / 1.313 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.9331, allocations: 253.3 kB / 1.314 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000696/0.9338, allocations: 0.7119 MB / 1.314 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.9339, allocations: 42.5 kB / 1.314 GB, free: 13.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.362e-06/0.9339, allocations: 0 / 1.314 GB, free: 13.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001028/0.9349, allocations: 0.6704 MB / 1.315 GB, free: 13.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.935, allocations: 136.6 kB / 1.315 GB, free: 13.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.9366, allocations: 1.683 MB / 1.317 GB, free: 13.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.9366, allocations: 31.67 kB / 1.317 GB, free: 13.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.937, allocations: 0.5569 MB / 1.317 GB, free: 13.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.937, allocations: 93.41 kB / 1.317 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.9371, allocations: 66.66 kB / 1.317 GB, free: 13.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9372, allocations: 323.7 kB / 1.318 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.9374, allocations: 158 kB / 1.318 GB, free: 12.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.9377, allocations: 268 kB / 1.318 GB, free: 12.67 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.938, allocations: 414.1 kB / 1.319 GB, free: 12.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.938, allocations: 1.625 kB / 1.319 GB, free: 12.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005888/0.9386, allocations: 0.5479 MB / 1.319 GB, free: 12.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.9387, allocations: 6.125 kB / 1.319 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9387, allocations: 2.594 kB / 1.319 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.9387, allocations: 4.156 kB / 1.319 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.9389, allocations: 55.88 kB / 1.319 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9389, allocations: 5.938 kB / 1.319 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.9393, allocations: 106.2 kB / 1.319 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.9393, allocations: 24.2 kB / 1.319 GB, free: 12.4 MB / 1.014 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.0003483/0.9397, allocations: 377.5 kB / 1.32 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.9399, allocations: 138.4 kB / 1.32 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.9403, allocations: 384.5 kB / 1.32 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9403, allocations: 3.906 kB / 1.32 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9403, allocations: 5.625 kB / 1.32 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9403, allocations: 0.7188 kB / 1.32 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.9432, allocations: 2.62 MB / 1.323 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.9432, allocations: 5.75 kB / 1.323 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.9434, allocations: 53.77 kB / 1.323 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.9434, allocations: 8 kB / 1.323 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.9434, allocations: 10.56 kB / 1.323 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.9434, allocations: 14.25 kB / 1.323 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.9435, allocations: 9.812 kB / 1.323 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.9439, allocations: 0.6174 MB / 1.323 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.9442, allocations: 297 kB / 1.324 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.9444, allocations: 16.62 kB / 1.324 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.9447, allocations: 13.06 kB / 1.324 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.9448, allocations: 40.12 kB / 1.324 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.9448, allocations: 16.25 kB / 1.324 GB, free: 10.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001093/0.9459, allocations: 1.221 MB / 1.325 GB, free: 10.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9459, allocations: 7.188 kB / 1.325 GB, free: 10.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008149/0.9467, allocations: 338.5 kB / 1.325 GB, free: 10.45 MB / 1.014 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.002014/0.9487, allocations: 1.688 MB / 1.327 GB, free: 9.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.9491, allocations: 350.7 kB / 1.327 GB, free: 9.453 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9491, allocations: 3.938 kB / 1.327 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.9493, allocations: 163.4 kB / 1.327 GB, free: 9.445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/0.9524, allocations: 0.9166 MB / 1.328 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.9631, allocations: 11.54 MB / 1.34 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/0.9639, allocations: 1.214 MB / 1.341 GB, free: 4.461 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007039/0.9646, allocations: 303 kB / 1.341 GB, free: 4.398 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.965, allocations: 467.1 kB / 1.342 GB, free: 4.387 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/0.965, allocations: 0 / 1.342 GB, free: 4.387 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.171/1.136, allocations: 43.13 MB / 1.384 GB, free: 11.63 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/12.31, allocations: 11.48 kB / 1.384 GB, free: 11.62 MB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches