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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001509/0.001509, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001777/0.001777, allocations: 189.8 kB / 16.25 MB, free: 6.621 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.6939, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.239/0.933, allocations: 212 MB / 1.156 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01627/0.9493, allocations: 12.16 MB / 1.168 GB, free: 1.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.9511, allocations: 51.56 kB / 1.168 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.9528, allocations: 437.3 kB / 1.169 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.9578, allocations: 1.763 MB / 1.17 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.9626, allocations: 1.784 MB / 1.172 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003315/0.966, allocations: 2.359 MB / 1.174 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.9679, allocations: 1.166 MB / 1.175 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.9697, allocations: 0.8327 MB / 1.176 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.971, allocations: 0.7236 MB / 1.177 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.9713, allocations: 91.94 kB / 1.177 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006144/0.9775, allocations: 3.257 MB / 1.18 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007529/0.9782, allocations: 0.5416 MB / 1.181 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.9796, allocations: 0.7425 MB / 1.182 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.986, allocations: 3.393 MB / 1.185 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.986, allocations: 0 / 1.185 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.004e-06/0.986, allocations: 0 / 1.185 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.492e-05/0.9861, allocations: 0 / 1.185 GB, free: 15.96 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.003108/0.9892, allocations: 1.74 MB / 1.187 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.9893, allocations: 8.031 kB / 1.187 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003016/0.9896, allocations: 168.8 kB / 1.187 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.9914, allocations: 385.7 kB / 1.187 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.9929, allocations: 0.8878 MB / 1.188 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.9929, allocations: 78.06 kB / 1.188 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.9931, allocations: 100 kB / 1.188 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.9954, allocations: 1.536 MB / 1.19 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.9955, allocations: 3.938 kB / 1.19 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/0.9956, allocations: 47.94 kB / 1.19 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.906e-05/0.9956, allocations: 65.53 kB / 1.19 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.9971, allocations: 1.021 MB / 1.191 GB, free: 9.715 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.006782/1.004, allocations: 5.965 MB / 1.197 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/1.004, allocations: 322.2 kB / 1.197 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/1.005, allocations: 243.4 kB / 1.197 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/1.005, allocations: 0.7155 MB / 1.198 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.006, allocations: 38.55 kB / 1.198 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 6.372e-06/1.006, allocations: 3.984 kB / 1.198 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001339/1.007, allocations: 0.6761 MB / 1.198 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/1.007, allocations: 140.4 kB / 1.199 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/1.009, allocations: 1.682 MB / 1.2 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/1.009, allocations: 29.7 kB / 1.2 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/1.01, allocations: 0.5622 MB / 1.201 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/1.01, allocations: 94.56 kB / 1.201 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.01, allocations: 69.64 kB / 1.201 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.01, allocations: 314 kB / 1.201 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/1.01, allocations: 159.9 kB / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/1.01, allocations: 264.5 kB / 1.202 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/1.011, allocations: 408.3 kB / 1.202 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.011, allocations: 0 / 1.202 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008016/1.012, allocations: 0.5464 MB / 1.203 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.012, allocations: 4 kB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.012, allocations: 4 kB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.012, allocations: 4 kB / 1.203 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/1.012, allocations: 55.91 kB / 1.203 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/1.012, allocations: 7.938 kB / 1.203 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/1.013, allocations: 118.7 kB / 1.203 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/1.013, allocations: 16 kB / 1.203 GB, free: 12.66 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.0004658/1.013, allocations: 377.6 kB / 1.203 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/1.014, allocations: 138.2 kB / 1.203 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/1.014, allocations: 388.9 kB / 1.204 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.014, allocations: 4 kB / 1.204 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.014, allocations: 8 kB / 1.204 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.014, allocations: 3.984 kB / 1.204 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/1.018, allocations: 2.607 MB / 1.206 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.018, allocations: 4 kB / 1.206 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/1.018, allocations: 47.92 kB / 1.206 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.018, allocations: 8 kB / 1.206 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/1.018, allocations: 15.98 kB / 1.206 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/1.018, allocations: 19.88 kB / 1.206 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.018, allocations: 15.88 kB / 1.206 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/1.019, allocations: 0.6244 MB / 1.207 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/1.019, allocations: 295.1 kB / 1.207 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/1.019, allocations: 19.98 kB / 1.207 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/1.02, allocations: 15.91 kB / 1.207 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.02, allocations: 43.8 kB / 1.207 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/1.02, allocations: 15.98 kB / 1.207 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001531/1.022, allocations: 1.223 MB / 1.209 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/1.022, allocations: 0 / 1.209 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00106/1.023, allocations: 335.8 kB / 1.209 GB, free: 6.16 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.002667/1.025, allocations: 1.672 MB / 1.21 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005808/1.026, allocations: 347.8 kB / 1.211 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.026, allocations: 8.375 kB / 1.211 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/1.026, allocations: 155.6 kB / 1.211 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/1.03, allocations: 0.932 MB / 1.212 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.047, allocations: 11.78 MB / 1.223 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/1.048, allocations: 1.216 MB / 1.225 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009358/1.049, allocations: 298.6 kB / 1.225 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/1.049, allocations: 463.3 kB / 1.225 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of SimCode: time 1.644e-06/1.049, allocations: 4 kB / 1.225 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.82/2.87, allocations: 42.87 MB / 1.267 GB, free: 274 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/2.87, allocations: 240.8 kB / 1.267 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/5.708, allocations: 0 / 1.267 GB, free: 273.8 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