Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_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.0008442/0.0008447, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001051/0.001051, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7278, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2015/0.9294, allocations: 195.6 MB / 1.172 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.9447, allocations: 11.47 MB / 1.183 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.9465, allocations: 47.56 kB / 1.183 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.9479, allocations: 365.2 kB / 1.184 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.9523, allocations: 1.403 MB / 1.185 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.9564, allocations: 1.307 MB / 1.186 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003841/0.9603, allocations: 2.644 MB / 1.189 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.9618, allocations: 0.8378 MB / 1.19 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.9635, allocations: 0.7001 MB / 1.191 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009478/0.9645, allocations: 0.6575 MB / 1.191 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.9646, allocations: 36 kB / 1.191 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005226/0.9698, allocations: 2.159 MB / 1.193 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006291/0.9705, allocations: 494.6 kB / 1.194 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.9711, allocations: 309 kB / 1.194 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.9747, allocations: 2.245 MB / 1.196 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9747, allocations: 0 / 1.196 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.278e-06/0.9747, allocations: 4 kB / 1.196 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.471e-05/0.9748, allocations: 3.938 kB / 1.196 GB, free: 9.344 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.00238/0.9771, allocations: 1.441 MB / 1.198 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.9772, allocations: 16.5 kB / 1.198 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/0.9774, allocations: 168.6 kB / 1.198 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.9791, allocations: 369.8 kB / 1.198 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.9805, allocations: 0.8496 MB / 1.199 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.9806, allocations: 85.98 kB / 1.199 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.9807, allocations: 100 kB / 1.199 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.983, allocations: 1.502 MB / 1.201 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.9831, allocations: 0 / 1.201 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.9832, allocations: 48 kB / 1.201 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.706e-05/0.9833, allocations: 61.47 kB / 1.201 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.9848, allocations: 1.005 MB / 1.202 GB, free: 3.5 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.00688/0.9917, allocations: 5.883 MB / 1.208 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.9923, allocations: 322.2 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.9926, allocations: 247.4 kB / 1.208 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007476/0.9933, allocations: 0.7116 MB / 1.209 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.9934, allocations: 42.5 kB / 1.209 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 4.879e-06/0.9934, allocations: 0 / 1.209 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.001351/0.9947, allocations: 0.6639 MB / 1.209 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.9948, allocations: 140.5 kB / 1.21 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.9971, allocations: 1.646 MB / 1.211 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.9972, allocations: 33.7 kB / 1.211 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.9977, allocations: 0.5502 MB / 1.212 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.863e-05/0.9978, allocations: 94.64 kB / 1.212 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.9978, allocations: 4 kB / 1.212 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9979, allocations: 318 kB / 1.212 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.9982, allocations: 163.9 kB / 1.212 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.9985, allocations: 290.1 kB / 1.213 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.9988, allocations: 195.8 kB / 1.213 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9988, allocations: 0 / 1.213 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008042/0.9996, allocations: 0.5621 MB / 1.213 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9996, allocations: 8.031 kB / 1.213 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.9996, allocations: 4.781 kB / 1.213 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.9996, allocations: 4 kB / 1.213 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.9999, allocations: 63.91 kB / 1.213 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.9999, allocations: 11.89 kB / 1.213 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/1, allocations: 106.6 kB / 1.213 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/1.001, allocations: 20 kB / 1.214 GB, free: 6.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005193/1.001, allocations: 387.1 kB / 1.214 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/1.001, allocations: 138.2 kB / 1.214 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/1.002, allocations: 377.1 kB / 1.214 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.002, allocations: 4 kB / 1.214 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.002, allocations: 0 / 1.214 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.002, allocations: 11.94 kB / 1.214 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/1.005, allocations: 2.54 MB / 1.217 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.005, allocations: 8 kB / 1.217 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.006, allocations: 47.92 kB / 1.217 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/1.006, allocations: 11.98 kB / 1.217 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.006, allocations: 15.95 kB / 1.217 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.006, allocations: 11.94 kB / 1.217 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.006, allocations: 7.938 kB / 1.217 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/1.006, allocations: 0.6131 MB / 1.218 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/1.007, allocations: 299.3 kB / 1.218 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.007, allocations: 16.05 kB / 1.218 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/1.007, allocations: 31.83 kB / 1.218 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/1.007, allocations: 31.86 kB / 1.218 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/1.007, allocations: 20.06 kB / 1.218 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001742/1.009, allocations: 1.187 MB / 1.219 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.009, allocations: 0 / 1.219 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001129/1.01, allocations: 339.8 kB / 1.219 GB, free: 452 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00248/1.013, allocations: 1.561 MB / 1.221 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006173/1.013, allocations: 343.7 kB / 1.221 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.013, allocations: 0 / 1.221 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/1.014, allocations: 157.2 kB / 1.221 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/1.017, allocations: 0.8536 MB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.032, allocations: 7.977 MB / 1.23 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.033, allocations: 1.197 MB / 1.231 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001273/1.034, allocations: 298.4 kB / 1.232 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/1.035, allocations: 451.3 kB / 1.232 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of SimCode: time 1.432e-06/1.035, allocations: 3.938 kB / 1.232 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6549/1.69, allocations: 40.69 MB / 1.272 GB, free: 256 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/1.69, allocations: 229.1 kB / 1.272 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/4.338, allocations: 0 / 1.272 GB, free: 255.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat does not exist to compare? outputFormat=mat