Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_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.0009168/0.0009168, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005502/0.005502, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003597, allocations: 12 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5552, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1944/0.7496, allocations: 209.6 MB / 1.228 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.7627, allocations: 12.14 MB / 1.24 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.7638, allocations: 43.62 kB / 1.24 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.7647, allocations: 413.3 kB / 1.24 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.5001/1.265, allocations: 1.755 MB / 1.242 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004202/1.269, allocations: 1.722 MB / 1.244 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003963/1.273, allocations: 3.044 MB / 1.246 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/1.275, allocations: 1.021 MB / 1.247 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/1.276, allocations: 0.6763 MB / 1.248 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008923/1.277, allocations: 0.6585 MB / 1.249 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.277, allocations: 40.69 kB / 1.249 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006751/1.284, allocations: 3.516 MB / 1.252 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007043/1.284, allocations: 493 kB / 1.253 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009678/1.285, allocations: 0.6762 MB / 1.253 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005439/1.291, allocations: 3.318 MB / 1.257 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.291, allocations: 2.5 kB / 1.257 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/1.291, allocations: 1 kB / 1.257 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.298e-05/1.291, allocations: 0 / 1.257 GB, free: 2.703 MB / 0.9825 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.002644/1.294, allocations: 1.447 MB / 1.258 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.294, allocations: 9.906 kB / 1.258 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/1.294, allocations: 172.6 kB / 1.258 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/1.295, allocations: 371.4 kB / 1.259 GB, free: 17.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.297, allocations: 0.8939 MB / 1.259 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/1.297, allocations: 81.27 kB / 1.26 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.297, allocations: 101.2 kB / 1.26 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/1.299, allocations: 1.531 MB / 1.261 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.299, allocations: 1.25 kB / 1.261 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/1.299, allocations: 57.09 kB / 1.261 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-05/1.299, allocations: 63.42 kB / 1.261 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/1.3, allocations: 1.023 MB / 1.262 GB, free: 17.04 MB / 0.9981 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.005334/1.305, allocations: 5.917 MB / 1.268 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/1.306, allocations: 314.4 kB / 1.268 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/1.306, allocations: 258.9 kB / 1.269 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/1.307, allocations: 0.7104 MB / 1.269 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/1.307, allocations: 45.56 kB / 1.269 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/1.307, allocations: 0 / 1.269 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001432/1.308, allocations: 0.6702 MB / 1.27 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/1.308, allocations: 132.5 kB / 1.27 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/1.31, allocations: 1.685 MB / 1.272 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/1.31, allocations: 34.02 kB / 1.272 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/1.311, allocations: 0.5574 MB / 1.272 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/1.311, allocations: 99.94 kB / 1.272 GB, free: 12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/1.311, allocations: 27 kB / 1.272 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.311, allocations: 319.2 kB / 1.273 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/1.311, allocations: 158.8 kB / 1.273 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/1.311, allocations: 277.2 kB / 1.273 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/1.312, allocations: 405.5 kB / 1.274 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.312, allocations: 0 / 1.274 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005567/1.312, allocations: 0.5344 MB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.312, allocations: 8.125 kB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.312, allocations: 7.219 kB / 1.274 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.312, allocations: 10.56 kB / 1.274 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/1.312, allocations: 51.61 kB / 1.274 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.312, allocations: 6.5 kB / 1.274 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/1.313, allocations: 110.4 kB / 1.274 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/1.313, allocations: 21.08 kB / 1.274 GB, free: 11.33 MB / 0.9981 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.000356/1.314, allocations: 395 kB / 1.275 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/1.314, allocations: 137.6 kB / 1.275 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/1.314, allocations: 378.9 kB / 1.275 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.314, allocations: 3.344 kB / 1.275 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.314, allocations: 64 / 1.275 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.314, allocations: 6.781 kB / 1.275 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/1.317, allocations: 2.573 MB / 1.278 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.317, allocations: 6.844 kB / 1.278 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/1.317, allocations: 51.36 kB / 1.278 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.317, allocations: 9.594 kB / 1.278 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/1.317, allocations: 14.88 kB / 1.278 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.317, allocations: 12.12 kB / 1.278 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.317, allocations: 9.406 kB / 1.278 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/1.318, allocations: 0.6177 MB / 1.278 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/1.318, allocations: 309 kB / 1.279 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.318, allocations: 18.81 kB / 1.279 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/1.319, allocations: 21.41 kB / 1.279 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/1.319, allocations: 30.2 kB / 1.279 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/1.319, allocations: 20.62 kB / 1.279 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001158/1.32, allocations: 1.224 MB / 1.28 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.32, allocations: 4 kB / 1.28 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001112/1.321, allocations: 338.4 kB / 1.28 GB, free: 9.379 MB / 0.9981 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.002234/1.323, allocations: 1.685 MB / 1.282 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003972/1.324, allocations: 330.2 kB / 1.282 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.324, allocations: 1.875 kB / 1.282 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.324, allocations: 165.8 kB / 1.282 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/1.329, allocations: 0.8782 MB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/1.342, allocations: 11.81 MB / 1.295 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/1.343, allocations: 1.204 MB / 1.296 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009363/1.344, allocations: 294.4 kB / 1.296 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/1.344, allocations: 463.9 kB / 1.297 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/1.344, allocations: 0 / 1.297 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.214/4.558, allocations: 41.64 MB / 1.337 GB, free: 3.453 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/4.559, allocations: 241.3 kB / 1.338 GB, free: 3.199 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/7.056, allocations: 0 / 1.338 GB, free: 3.199 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches