Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryWithX_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_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.001248/0.00125, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001985/0.001985, allocations: 194.1 kB / 16.25 MB, free: 6.16 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.478/2.478, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.83 kB / 0.8688 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5482, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1911/0.7394, allocations: 212 MB / 1.224 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.7526, allocations: 12.17 MB / 1.236 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.7539, allocations: 47.62 kB / 1.236 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.7551, allocations: 441.3 kB / 1.236 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.7592, allocations: 1.77 MB / 1.238 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003821/0.763, allocations: 1.768 MB / 1.24 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.7655, allocations: 2.359 MB / 1.242 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.7669, allocations: 1.17 MB / 1.243 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.7682, allocations: 0.8366 MB / 1.244 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009625/0.7692, allocations: 0.7236 MB / 1.245 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.7694, allocations: 92 kB / 1.245 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004612/0.774, allocations: 3.257 MB / 1.248 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004952/0.7745, allocations: 0.5415 MB / 1.248 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008577/0.7754, allocations: 0.7386 MB / 1.249 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.7796, allocations: 3.397 MB / 1.253 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7796, allocations: 0 / 1.253 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7796, allocations: 0 / 1.253 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.385e-05/0.7797, allocations: 4 kB / 1.253 GB, free: 0.5977 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.4316/1.211, allocations: 1.735 MB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.211, allocations: 10.31 kB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003851/1.212, allocations: 173.7 kB / 1.254 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/1.214, allocations: 377.3 kB / 1.255 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.216, allocations: 0.8895 MB / 1.256 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/1.216, allocations: 77.34 kB / 1.256 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/1.216, allocations: 104.5 kB / 1.256 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/1.219, allocations: 1.529 MB / 1.257 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/1.219, allocations: 10.69 kB / 1.257 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.219, allocations: 45.22 kB / 1.257 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.306e-05/1.219, allocations: 62.27 kB / 1.257 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/1.22, allocations: 1.022 MB / 1.258 GB, free: 234.5 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.006489/1.227, allocations: 5.964 MB / 1.264 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/1.228, allocations: 317 kB / 1.265 GB, free: 230 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/1.228, allocations: 246.3 kB / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005697/1.228, allocations: 0.7087 MB / 1.265 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.228, allocations: 44.86 kB / 1.265 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.464e-06/1.228, allocations: 0 / 1.265 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001425/1.23, allocations: 0.6742 MB / 1.266 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.23, allocations: 136.7 kB / 1.266 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/1.233, allocations: 1.686 MB / 1.268 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/1.233, allocations: 37.19 kB / 1.268 GB, free: 228 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/1.233, allocations: 0.5551 MB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/1.233, allocations: 93.98 kB / 1.269 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/1.234, allocations: 66.81 kB / 1.269 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/1.234, allocations: 316.9 kB / 1.269 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/1.234, allocations: 153.6 kB / 1.269 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/1.234, allocations: 273.4 kB / 1.269 GB, free: 227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/1.235, allocations: 404.4 kB / 1.27 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.235, allocations: 0.5625 kB / 1.27 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008428/1.236, allocations: 0.5542 MB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.236, allocations: 5.156 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/1.236, allocations: 2.312 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.236, allocations: 8.094 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/1.236, allocations: 51.91 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.236, allocations: 4.594 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/1.237, allocations: 116.5 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/1.237, allocations: 22.52 kB / 1.27 GB, free: 226.5 MB / 0.9981 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.0004352/1.237, allocations: 377.5 kB / 1.271 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/1.237, allocations: 140.6 kB / 1.271 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/1.238, allocations: 376.8 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.238, allocations: 8.062 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.238, allocations: 1.406 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.238, allocations: 2.031 kB / 1.271 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/1.242, allocations: 2.616 MB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.242, allocations: 6.094 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/1.242, allocations: 55.69 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.242, allocations: 12.22 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/1.242, allocations: 12.75 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/1.242, allocations: 9.5 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/1.242, allocations: 19.17 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/1.243, allocations: 0.625 MB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/1.243, allocations: 289.5 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/1.244, allocations: 14.42 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/1.244, allocations: 27.02 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/1.244, allocations: 32.89 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/1.244, allocations: 19.03 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001674/1.246, allocations: 1.233 MB / 1.276 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.246, allocations: 1.062 kB / 1.276 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001063/1.247, allocations: 334.6 kB / 1.277 GB, free: 223.2 MB / 0.9981 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.002508/1.249, allocations: 1.678 MB / 1.278 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005334/1.25, allocations: 352.5 kB / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.25, allocations: 0 / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/1.25, allocations: 162.9 kB / 1.279 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/1.254, allocations: 0.929 MB / 1.28 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.268, allocations: 11.77 MB / 1.291 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/1.268, allocations: 1.216 MB / 1.292 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001035/1.269, allocations: 298.6 kB / 1.293 GB, free: 212 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/1.27, allocations: 471.3 kB / 1.293 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.27, allocations: 0 / 1.293 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.92/3.19, allocations: 42.87 MB / 1.335 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003591/3.19, allocations: 248.8 kB / 1.335 GB, free: 169 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/6.414, allocations: 3.938 kB / 1.335 GB, free: 169 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches