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.001269/0.001269, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001257/0.001257, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.084/2.084, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4935, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1889/0.6824, allocations: 212.5 MB / 1.157 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.6954, allocations: 12.27 MB / 1.169 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.6965, allocations: 47.62 kB / 1.169 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.6976, allocations: 409.3 kB / 1.169 GB, free: 112 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003699/0.7014, allocations: 1.751 MB / 1.171 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.705, allocations: 1.733 MB / 1.172 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.7079, allocations: 3.046 MB / 1.175 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.7092, allocations: 1.063 MB / 1.176 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.7103, allocations: 0.7117 MB / 1.177 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/0.7111, allocations: 0.7079 MB / 1.178 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.7113, allocations: 48 kB / 1.178 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.7162, allocations: 3.53 MB / 1.181 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004482/0.7167, allocations: 0.5025 MB / 1.182 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007125/0.7174, allocations: 0.6801 MB / 1.182 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.7212, allocations: 3.354 MB / 1.186 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.7213, allocations: 0 / 1.186 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.42e-07/0.7213, allocations: 0 / 1.186 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.7213, allocations: 0 / 1.186 GB, free: 14.92 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.001843/0.7231, allocations: 1.738 MB / 1.187 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7232, allocations: 12.03 kB / 1.187 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.7233, allocations: 176.8 kB / 1.188 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.7249, allocations: 377.7 kB / 1.188 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.726, allocations: 0.8916 MB / 1.189 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.7261, allocations: 78.06 kB / 1.189 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.7262, allocations: 104 kB / 1.189 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.728, allocations: 1.536 MB / 1.19 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.7281, allocations: 3.938 kB / 1.19 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.7282, allocations: 51.94 kB / 1.191 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.7282, allocations: 61.48 kB / 1.191 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.7295, allocations: 1.025 MB / 1.192 GB, free: 8.66 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.005136/0.7346, allocations: 5.961 MB / 1.197 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.7351, allocations: 318.2 kB / 1.198 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.7354, allocations: 243.4 kB / 1.198 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/0.736, allocations: 0.7078 MB / 1.199 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.736, allocations: 46.5 kB / 1.199 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.7361, allocations: 0 / 1.199 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001129/0.7372, allocations: 0.6716 MB / 1.199 GB, free: 204 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.7373, allocations: 140.4 kB / 1.199 GB, free: 32 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.739, allocations: 1.686 MB / 1.201 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.739, allocations: 29.7 kB / 1.201 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.7395, allocations: 0.5582 MB / 1.202 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.7395, allocations: 98.77 kB / 1.202 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.7396, allocations: 73.59 kB / 1.202 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.7397, allocations: 318 kB / 1.202 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.7399, allocations: 151.9 kB / 1.202 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.7402, allocations: 272.4 kB / 1.203 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.7407, allocations: 412.8 kB / 1.203 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7407, allocations: 0 / 1.203 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006478/0.7413, allocations: 0.5425 MB / 1.203 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.7414, allocations: 4 kB / 1.203 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.7414, allocations: 4 kB / 1.203 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7414, allocations: 4 kB / 1.203 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.7416, allocations: 51.91 kB / 1.204 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.7416, allocations: 8.125 kB / 1.204 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.742, allocations: 114.5 kB / 1.204 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.7421, allocations: 23.98 kB / 1.204 GB, free: 11.61 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.0003795/0.7425, allocations: 377.6 kB / 1.204 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.7427, allocations: 134.3 kB / 1.204 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.7432, allocations: 392.9 kB / 1.205 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7432, allocations: 4 kB / 1.205 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7432, allocations: 7.938 kB / 1.205 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7432, allocations: 0 / 1.205 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.7464, allocations: 2.607 MB / 1.207 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.7464, allocations: 8 kB / 1.207 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.7466, allocations: 55.86 kB / 1.207 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.7466, allocations: 7.938 kB / 1.207 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.7466, allocations: 16 kB / 1.207 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.7466, allocations: 11.98 kB / 1.207 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7466, allocations: 8.469 kB / 1.207 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.7472, allocations: 0.6358 MB / 1.208 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.7476, allocations: 295.2 kB / 1.208 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.7478, allocations: 12 kB / 1.208 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.7481, allocations: 19.94 kB / 1.208 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.7482, allocations: 35.84 kB / 1.208 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.7482, allocations: 20 kB / 1.208 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001323/0.7495, allocations: 1.223 MB / 1.209 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7496, allocations: 0 / 1.209 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000839/0.7504, allocations: 339.7 kB / 1.21 GB, free: 5.109 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.00225/0.7527, allocations: 1.67 MB / 1.211 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.7531, allocations: 339.7 kB / 1.212 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7531, allocations: 0 / 1.212 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.7533, allocations: 157.2 kB / 1.212 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.7566, allocations: 0.8739 MB / 1.213 GB, free: 2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.7708, allocations: 11.79 MB / 1.224 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.7715, allocations: 1.216 MB / 1.225 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007875/0.7723, allocations: 294.7 kB / 1.226 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/0.7728, allocations: 459.3 kB / 1.226 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.7728, allocations: 0 / 1.226 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.958/2.731, allocations: 41.96 MB / 1.267 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/2.731, allocations: 243.2 kB / 1.267 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/5.883, allocations: 4 kB / 1.267 GB, free: 272.6 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