Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_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.000765/0.000765, allocations: 90.52 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.004753/0.004753, allocations: 171.1 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.9 MB / 0.6664 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5725/0.5729, allocations: 142.4 MB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2109/0.7839, allocations: 209.6 MB / 1.16 GB, free: 12.94 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.7984, allocations: 12.13 MB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.7998, allocations: 47.62 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.8009, allocations: 405.3 kB / 1.172 GB, free: 336 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.8049, allocations: 1.755 MB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.8088, allocations: 1.735 MB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003055/0.8118, allocations: 3.042 MB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.8131, allocations: 1.016 MB / 1.18 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.8142, allocations: 0.6805 MB / 1.18 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007577/0.8149, allocations: 0.6495 MB / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.815, allocations: 36 kB / 1.181 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005805/0.8209, allocations: 3.518 MB / 1.184 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.8213, allocations: 494.5 kB / 1.185 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006895/0.822, allocations: 0.6701 MB / 1.185 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.8264, allocations: 3.326 MB / 1.189 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8264, allocations: 0 / 1.189 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8264, allocations: 0 / 1.189 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.8265, allocations: 0 / 1.189 GB, free: 15.35 MB / 0.9512 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.001889/0.8284, allocations: 1.445 MB / 1.19 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8284, allocations: 12.03 kB / 1.19 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.8286, allocations: 172.8 kB / 1.19 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.8302, allocations: 377.7 kB / 1.191 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.8314, allocations: 0.8917 MB / 1.191 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.8314, allocations: 78.06 kB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.8316, allocations: 100 kB / 1.192 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.8336, allocations: 1.536 MB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.8336, allocations: 7.938 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.531e-05/0.8337, allocations: 59.92 kB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.415e-05/0.8338, allocations: 57.55 kB / 1.193 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.8351, allocations: 1.021 MB / 1.194 GB, free: 9.383 MB / 0.9512 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.00538/0.8405, allocations: 5.914 MB / 1.2 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.8411, allocations: 322.2 kB / 1.2 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.8414, allocations: 247.7 kB / 1.201 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.842, allocations: 0.7117 MB / 1.201 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.8421, allocations: 42.5 kB / 1.201 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.8421, allocations: 0 / 1.201 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001215/0.8433, allocations: 0.6753 MB / 1.202 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.8434, allocations: 136.4 kB / 1.202 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.8453, allocations: 1.682 MB / 1.204 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.8454, allocations: 33.7 kB / 1.204 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.8459, allocations: 0.5622 MB / 1.204 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.8459, allocations: 98.5 kB / 1.204 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.846, allocations: 25.75 kB / 1.204 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8461, allocations: 321.9 kB / 1.205 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.8463, allocations: 155.9 kB / 1.205 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.8466, allocations: 264.5 kB / 1.205 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.8471, allocations: 412.2 kB / 1.206 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8471, allocations: 0 / 1.206 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007184/0.8478, allocations: 0.5431 MB / 1.206 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8479, allocations: 9.562 kB / 1.206 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8479, allocations: 4.062 kB / 1.206 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.8479, allocations: 4 kB / 1.206 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8481, allocations: 55.91 kB / 1.206 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.8481, allocations: 7.938 kB / 1.206 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.8487, allocations: 110.8 kB / 1.206 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.8487, allocations: 20 kB / 1.206 GB, free: 12.41 MB / 0.9669 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.0004283/0.8492, allocations: 381.5 kB / 1.207 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.8494, allocations: 138.2 kB / 1.207 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005658/0.8499, allocations: 380.9 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.85, allocations: 4 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.85, allocations: 3.938 kB / 1.207 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.85, allocations: 3.984 kB / 1.207 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.8532, allocations: 2.572 MB / 1.21 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.8532, allocations: 4 kB / 1.21 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.8534, allocations: 55.86 kB / 1.21 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.8534, allocations: 8 kB / 1.21 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.8535, allocations: 15.98 kB / 1.21 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.8535, allocations: 8 kB / 1.21 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.8535, allocations: 12.47 kB / 1.21 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.8542, allocations: 0.6319 MB / 1.21 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.8546, allocations: 303.3 kB / 1.211 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.8547, allocations: 19.92 kB / 1.211 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.8551, allocations: 19.98 kB / 1.211 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.8552, allocations: 31.86 kB / 1.211 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.8552, allocations: 20 kB / 1.211 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001475/0.8567, allocations: 1.223 MB / 1.212 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8567, allocations: 3.938 kB / 1.212 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009437/0.8576, allocations: 343.6 kB / 1.212 GB, free: 5.941 MB / 0.9669 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.002381/0.86, allocations: 1.678 MB / 1.214 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.8605, allocations: 339.7 kB / 1.214 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8605, allocations: 0 / 1.214 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.8608, allocations: 157.2 kB / 1.214 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004884/0.8657, allocations: 0.8773 MB / 1.215 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.8808, allocations: 11.8 MB / 1.227 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/0.8816, allocations: 1.216 MB / 1.228 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008593/0.8824, allocations: 298.7 kB / 1.228 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.883, allocations: 459.3 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.883, allocations: 0 / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6318/1.515, allocations: 41.62 MB / 1.269 GB, free: 272.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.515, allocations: 242.6 kB / 1.27 GB, free: 272 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/4.087, allocations: 1.188 kB / 1.27 GB, free: 272 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches