Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001052/0.001052, allocations: 191.2 kB / 16.13 MB, free: 6.645 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.174/2.174, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.514, allocations: 140.3 MB / 0.949 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.184/0.6981, allocations: 212.5 MB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.71, allocations: 12.27 MB / 1.169 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000997/0.711, allocations: 47.62 kB / 1.169 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.7119, allocations: 405.4 kB / 1.169 GB, free: 144 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.7151, allocations: 1.77 MB / 1.171 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.7183, allocations: 1.729 MB / 1.172 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.7204, allocations: 3.069 MB / 1.175 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009563/0.7213, allocations: 1.023 MB / 1.176 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.7221, allocations: 0.7312 MB / 1.177 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.7227, allocations: 0.7002 MB / 1.178 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.679e-05/0.7228, allocations: 48 kB / 1.178 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.7271, allocations: 3.526 MB / 1.181 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.7275, allocations: 0.5025 MB / 1.182 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.728, allocations: 0.6723 MB / 1.182 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.7311, allocations: 3.33 MB / 1.186 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7311, allocations: 0 / 1.186 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.41e-07/0.7312, allocations: 0 / 1.186 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.7312, allocations: 4 kB / 1.186 GB, free: 14.97 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001704/0.7329, allocations: 1.721 MB / 1.187 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.7329, allocations: 12.03 kB / 1.187 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.7331, allocations: 168.6 kB / 1.188 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.7345, allocations: 381.8 kB / 1.188 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009927/0.7355, allocations: 0.8878 MB / 1.189 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.7356, allocations: 78.03 kB / 1.189 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.7357, allocations: 96 kB / 1.189 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.7374, allocations: 1.513 MB / 1.19 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.7374, allocations: 11.88 kB / 1.19 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.7375, allocations: 47.94 kB / 1.19 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/0.7376, allocations: 57.53 kB / 1.19 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7387, allocations: 1.013 MB / 1.191 GB, free: 8.781 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.004754/0.7435, allocations: 5.93 MB / 1.197 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.744, allocations: 322.2 kB / 1.198 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.7442, allocations: 247.4 kB / 1.198 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.7448, allocations: 0.7155 MB / 1.199 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7448, allocations: 30.56 kB / 1.199 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.7448, allocations: 4 kB / 1.199 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001047/0.7459, allocations: 0.672 MB / 1.199 GB, free: 352 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.7459, allocations: 132.5 kB / 1.199 GB, free: 188 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.7475, allocations: 1.658 MB / 1.201 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.7475, allocations: 33.7 kB / 1.201 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.7479, allocations: 0.5501 MB / 1.202 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.748, allocations: 94.77 kB / 1.202 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.7481, allocations: 77.59 kB / 1.202 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.7482, allocations: 321.9 kB / 1.202 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.7484, allocations: 159.9 kB / 1.202 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.7487, allocations: 294.1 kB / 1.202 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.7491, allocations: 430.6 kB / 1.203 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7491, allocations: 7.938 kB / 1.203 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006318/0.7498, allocations: 0.562 MB / 1.203 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.7498, allocations: 4 kB / 1.203 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7498, allocations: 12.31 kB / 1.203 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7498, allocations: 4 kB / 1.203 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.75, allocations: 55.86 kB / 1.203 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.75, allocations: 4 kB / 1.203 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.7505, allocations: 114.6 kB / 1.204 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.7505, allocations: 23.98 kB / 1.204 GB, free: 11.7 MB / 0.9669 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.0003641/0.7509, allocations: 381.6 kB / 1.204 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.7511, allocations: 134.2 kB / 1.204 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.7515, allocations: 380.8 kB / 1.204 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7515, allocations: 4 kB / 1.204 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7515, allocations: 3.984 kB / 1.204 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7516, allocations: 3.938 kB / 1.204 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.7545, allocations: 2.61 MB / 1.207 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7545, allocations: 4.812 kB / 1.207 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.7547, allocations: 47.92 kB / 1.207 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.7547, allocations: 15.94 kB / 1.207 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.7547, allocations: 12 kB / 1.207 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.7547, allocations: 11.94 kB / 1.207 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7547, allocations: 11.94 kB / 1.207 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.7553, allocations: 0.6163 MB / 1.208 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.7556, allocations: 303.1 kB / 1.208 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.7558, allocations: 12 kB / 1.208 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.7561, allocations: 15.94 kB / 1.208 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.7562, allocations: 43.78 kB / 1.208 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.7562, allocations: 16 kB / 1.208 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001208/0.7574, allocations: 1.207 MB / 1.209 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7574, allocations: 0 / 1.209 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007344/0.7582, allocations: 335.8 kB / 1.21 GB, free: 5.234 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.002013/0.7602, allocations: 1.679 MB / 1.211 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.7606, allocations: 347.5 kB / 1.212 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7606, allocations: 4 kB / 1.212 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.7608, allocations: 161.4 kB / 1.212 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.7639, allocations: 0.8698 MB / 1.213 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.7767, allocations: 11.64 MB / 1.224 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.7773, allocations: 1.197 MB / 1.225 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007488/0.7781, allocations: 302.6 kB / 1.225 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.7785, allocations: 459.3 kB / 1.226 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.7785, allocations: 0 / 1.226 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.928/3.707, allocations: 41.72 MB / 1.267 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/3.707, allocations: 251.6 kB / 1.267 GB, free: 273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/6.236, allocations: 6.891 kB / 1.267 GB, free: 272.9 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches