Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BoundaryWithXi_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_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.001062/0.001063, 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.001078/0.001078, allocations: 197 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5264, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.196/0.7224, allocations: 214.1 MB / 1.226 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01408/0.7366, allocations: 12.17 MB / 1.238 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.7378, allocations: 47.69 kB / 1.238 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.7391, allocations: 0.508 MB / 1.239 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004349/0.7435, allocations: 1.871 MB / 1.241 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.7478, allocations: 1.907 MB / 1.243 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00264/0.7505, allocations: 2.356 MB / 1.245 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.7521, allocations: 1.209 MB / 1.246 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.7535, allocations: 0.825 MB / 1.247 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.7544, allocations: 0.6534 MB / 1.247 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.7547, allocations: 92 kB / 1.248 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004714/0.7594, allocations: 2.844 MB / 1.25 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.7599, allocations: 0.5337 MB / 1.251 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009517/0.7609, allocations: 0.7386 MB / 1.252 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4829/1.244, allocations: 3.109 MB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/1.244, allocations: 0 / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/1.244, allocations: 0.8125 kB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.34e-05/1.244, allocations: 0.6094 kB / 1.255 GB, free: 10.48 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002232/1.246, allocations: 1.731 MB / 1.256 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.246, allocations: 13.55 kB / 1.256 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/1.246, allocations: 167.8 kB / 1.257 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/1.248, allocations: 369.3 kB / 1.257 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/1.249, allocations: 0.8883 MB / 1.258 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/1.249, allocations: 78.91 kB / 1.258 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/1.249, allocations: 102.1 kB / 1.258 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/1.252, allocations: 1.506 MB / 1.259 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.252, allocations: 5.781 kB / 1.259 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/1.252, allocations: 49.97 kB / 1.259 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/1.252, allocations: 59.06 kB / 1.259 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/1.253, allocations: 1.019 MB / 1.26 GB, free: 8.945 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.005684/1.259, allocations: 5.932 MB / 1.266 GB, free: 21.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/1.259, allocations: 316.9 kB / 1.267 GB, free: 21.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/1.26, allocations: 253.2 kB / 1.267 GB, free: 21.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/1.26, allocations: 0.7155 MB / 1.268 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/1.26, allocations: 39.89 kB / 1.268 GB, free: 20.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/1.26, allocations: 0 / 1.268 GB, free: 20.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001403/1.262, allocations: 0.666 MB / 1.268 GB, free: 20.47 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.262, allocations: 138.1 kB / 1.268 GB, free: 20.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/1.264, allocations: 1.656 MB / 1.27 GB, free: 20.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/1.264, allocations: 33.25 kB / 1.27 GB, free: 20.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/1.265, allocations: 0.5556 MB / 1.271 GB, free: 20.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/1.265, allocations: 90.48 kB / 1.271 GB, free: 19.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.265, allocations: 73.31 kB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/1.265, allocations: 317.8 kB / 1.271 GB, free: 19.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/1.265, allocations: 162.1 kB / 1.271 GB, free: 19.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/1.266, allocations: 286.9 kB / 1.271 GB, free: 19.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/1.266, allocations: 439.4 kB / 1.272 GB, free: 19.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.266, allocations: 2.031 kB / 1.272 GB, free: 19.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007694/1.267, allocations: 0.5625 MB / 1.272 GB, free: 19.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.267, allocations: 6.562 kB / 1.272 GB, free: 19.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.267, allocations: 4.688 kB / 1.272 GB, free: 19.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.267, allocations: 4.094 kB / 1.272 GB, free: 19.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/1.267, allocations: 59.36 kB / 1.272 GB, free: 19.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.267, allocations: 8.375 kB / 1.272 GB, free: 19.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/1.268, allocations: 109.4 kB / 1.273 GB, free: 19.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/1.268, allocations: 23.56 kB / 1.273 GB, free: 19.25 MB / 1.014 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.0004304/1.268, allocations: 375.9 kB / 1.273 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/1.269, allocations: 138.2 kB / 1.273 GB, free: 19.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/1.269, allocations: 384.8 kB / 1.273 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.269, allocations: 4.516 kB / 1.273 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.269, allocations: 4.75 kB / 1.273 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.269, allocations: 2.125 kB / 1.273 GB, free: 18.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/1.273, allocations: 2.613 MB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.273, allocations: 6.281 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/1.273, allocations: 51.38 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/1.273, allocations: 9.125 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/1.273, allocations: 15.56 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/1.273, allocations: 11.62 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.273, allocations: 9.875 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/1.273, allocations: 0.6165 MB / 1.277 GB, free: 17.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/1.274, allocations: 290.9 kB / 1.277 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/1.274, allocations: 15.91 kB / 1.277 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/1.274, allocations: 11.66 kB / 1.277 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/1.274, allocations: 40.27 kB / 1.277 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/1.274, allocations: 15.19 kB / 1.277 GB, free: 17.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001391/1.276, allocations: 1.207 MB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.276, allocations: 5.25 kB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009274/1.277, allocations: 336.7 kB / 1.279 GB, free: 17.34 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.002659/1.279, allocations: 1.682 MB / 1.28 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004888/1.28, allocations: 354.6 kB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.28, allocations: 3.312 kB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/1.28, allocations: 165.8 kB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.284, allocations: 0.9207 MB / 1.282 GB, free: 16.31 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/1.295, allocations: 11.4 MB / 1.293 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/1.295, allocations: 1.211 MB / 1.294 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009786/1.296, allocations: 293.9 kB / 1.294 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/1.297, allocations: 462.5 kB / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of SimCode: time 8.91e-07/1.297, allocations: 3.188 kB / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08025/1.377, allocations: 42.89 MB / 1.337 GB, free: 1.641 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/12.08, allocations: 4.062 kB / 1.337 GB, free: 1.641 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches