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.001007/0.001007, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.467/2.467, allocations: 437.1 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5043, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1944/0.6988, allocations: 214.1 MB / 1.226 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.7129, allocations: 12.17 MB / 1.238 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.7144, allocations: 47.62 kB / 1.238 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.7159, allocations: 0.5119 MB / 1.239 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004683/0.7207, allocations: 1.871 MB / 1.241 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004237/0.7249, allocations: 1.9 MB / 1.243 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002519/0.7274, allocations: 2.34 MB / 1.245 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.729, allocations: 1.236 MB / 1.246 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.7303, allocations: 0.8209 MB / 1.247 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000875/0.7312, allocations: 0.6496 MB / 1.247 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.7314, allocations: 88 kB / 1.248 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004869/0.7363, allocations: 2.854 MB / 1.25 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004873/0.7368, allocations: 0.5493 MB / 1.251 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008532/0.7376, allocations: 0.7347 MB / 1.252 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4778/1.215, allocations: 3.133 MB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.215, allocations: 0.5938 kB / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/1.216, allocations: 0 / 1.255 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.897e-05/1.216, allocations: 0.8125 kB / 1.255 GB, free: 10.48 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.002791/1.218, allocations: 1.743 MB / 1.256 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.218, allocations: 9.281 kB / 1.256 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/1.219, allocations: 167.6 kB / 1.257 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/1.22, allocations: 376 kB / 1.257 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.222, allocations: 0.8935 MB / 1.258 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/1.222, allocations: 75.78 kB / 1.258 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/1.222, allocations: 106.4 kB / 1.258 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/1.224, allocations: 1.529 MB / 1.259 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.225, allocations: 4.938 kB / 1.259 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.225, allocations: 48.12 kB / 1.26 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.424e-05/1.225, allocations: 63.56 kB / 1.26 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/1.227, allocations: 1.027 MB / 1.261 GB, free: 8.941 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.006581/1.233, allocations: 5.966 MB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/1.234, allocations: 318.2 kB / 1.267 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/1.234, allocations: 249.8 kB / 1.267 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/1.235, allocations: 0.7082 MB / 1.268 GB, free: 20.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/1.235, allocations: 38.92 kB / 1.268 GB, free: 20.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.945e-06/1.235, allocations: 2.406 kB / 1.268 GB, free: 20.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001566/1.237, allocations: 0.6669 MB / 1.268 GB, free: 20.47 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/1.237, allocations: 141.3 kB / 1.268 GB, free: 20.31 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/1.239, allocations: 1.683 MB / 1.27 GB, free: 20.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/1.239, allocations: 31.98 kB / 1.27 GB, free: 20.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/1.24, allocations: 0.5587 MB / 1.271 GB, free: 20.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/1.24, allocations: 91.47 kB / 1.271 GB, free: 19.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.24, allocations: 68.83 kB / 1.271 GB, free: 19.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.24, allocations: 325.6 kB / 1.271 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/1.24, allocations: 154.4 kB / 1.271 GB, free: 19.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/1.241, allocations: 267.6 kB / 1.272 GB, free: 19.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/1.241, allocations: 406.6 kB / 1.272 GB, free: 19.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.241, allocations: 0 / 1.272 GB, free: 19.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007732/1.242, allocations: 0.5509 MB / 1.272 GB, free: 19.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.242, allocations: 7.219 kB / 1.272 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.242, allocations: 3.766 kB / 1.272 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.242, allocations: 3.531 kB / 1.272 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/1.242, allocations: 56.84 kB / 1.273 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.242, allocations: 4.688 kB / 1.273 GB, free: 19.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/1.243, allocations: 112.3 kB / 1.273 GB, free: 19.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/1.243, allocations: 22.12 kB / 1.273 GB, free: 19.28 MB / 1.014 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.0004585/1.244, allocations: 382 kB / 1.273 GB, free: 19.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.244, allocations: 140.4 kB / 1.273 GB, free: 19.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/1.244, allocations: 386 kB / 1.274 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.244, allocations: 4.062 kB / 1.274 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.244, allocations: 0.7188 kB / 1.274 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.244, allocations: 2.734 kB / 1.274 GB, free: 19.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/1.248, allocations: 2.61 MB / 1.276 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/1.248, allocations: 12.06 kB / 1.276 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.248, allocations: 49.25 kB / 1.276 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.248, allocations: 10.41 kB / 1.276 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/1.248, allocations: 12.84 kB / 1.276 GB, free: 18.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/1.248, allocations: 14.88 kB / 1.276 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.248, allocations: 10.95 kB / 1.276 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/1.249, allocations: 0.6155 MB / 1.277 GB, free: 17.69 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/1.249, allocations: 299.7 kB / 1.277 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.25, allocations: 17.77 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/1.25, allocations: 11.69 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/1.25, allocations: 37.92 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/1.25, allocations: 14.78 kB / 1.277 GB, free: 17.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001518/1.252, allocations: 1.232 MB / 1.278 GB, free: 17.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.252, allocations: 0 / 1.278 GB, free: 17.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001026/1.253, allocations: 338.8 kB / 1.279 GB, free: 17.36 MB / 1.014 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.002566/1.255, allocations: 1.68 MB / 1.28 GB, free: 16.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005597/1.256, allocations: 350 kB / 1.281 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.256, allocations: 1.781 kB / 1.281 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/1.256, allocations: 160.8 kB / 1.281 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/1.26, allocations: 0.9323 MB / 1.282 GB, free: 16.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.273, allocations: 11.55 MB / 1.293 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/1.274, allocations: 1.209 MB / 1.294 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001094/1.275, allocations: 294 kB / 1.294 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/1.275, allocations: 470.2 kB / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of SimCode: time 1.142e-06/1.275, allocations: 0 / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2268/1.502, allocations: 43.12 MB / 1.337 GB, free: 1.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/12.14, allocations: 12.44 kB / 1.337 GB, free: 1.477 MB / 1.014 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