Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",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.001198/0.001198, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001323/0.001323, allocations: 177.3 kB / 15.94 MB, free: 228 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.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003357, allocations: 12 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.7515, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.211/0.9625, allocations: 200.8 MB / 1.15 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.9845, allocations: 17.75 MB / 1.167 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.9877, allocations: 75.31 kB / 1.167 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.9909, allocations: 0.9679 MB / 1.168 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008691/0.9997, allocations: 2.321 MB / 1.17 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007996/1.008, allocations: 2.671 MB / 1.173 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004793/1.012, allocations: 2.189 MB / 1.175 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/1.014, allocations: 0.9467 MB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/1.017, allocations: 1.095 MB / 1.177 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/1.017, allocations: 0.6648 MB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/1.018, allocations: 59.88 kB / 1.178 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006967/1.025, allocations: 2.636 MB / 1.18 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006361/1.025, allocations: 0.557 MB / 1.181 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/1.026, allocations: 412.7 kB / 1.181 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004144/1.03, allocations: 2.783 MB / 1.184 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/1.03, allocations: 4 kB / 1.184 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/1.03, allocations: 0 / 1.184 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.706e-05/1.03, allocations: 0 / 1.184 GB, free: 3.625 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.00279/1.033, allocations: 1.914 MB / 1.186 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.033, allocations: 12.03 kB / 1.186 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/1.033, allocations: 190 kB / 1.186 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/1.035, allocations: 493 kB / 1.187 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/1.037, allocations: 1.202 MB / 1.188 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/1.037, allocations: 94.44 kB / 1.188 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/1.037, allocations: 128 kB / 1.188 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/1.04, allocations: 1.696 MB / 1.19 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/1.04, allocations: 3.938 kB / 1.19 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/1.04, allocations: 48 kB / 1.19 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-05/1.04, allocations: 71.92 kB / 1.19 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/1.042, allocations: 1.217 MB / 1.191 GB, free: 12.31 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.00761/1.049, allocations: 7.549 MB / 1.198 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/1.05, allocations: 0.6668 MB / 1.199 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.052, allocations: 1.512 MB / 1.2 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/1.052, allocations: 50.48 kB / 1.2 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/1.052, allocations: 0 / 1.2 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72): time 0.002396/1.054, allocations: 1.391 MB / 1.202 GB, free: 320 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/1.054, allocations: 294.7 kB / 1.202 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/1.057, allocations: 1.876 MB / 1.204 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/1.057, allocations: 41.7 kB / 1.204 GB, free: 14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006348/1.057, allocations: 0.7291 MB / 1.205 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/1.057, allocations: 240.5 kB / 1.205 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/1.057, allocations: 16 kB / 1.205 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.058, allocations: 326 kB / 1.205 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/1.058, allocations: 329.1 kB / 1.206 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/1.059, allocations: 0.5637 MB / 1.206 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/1.059, allocations: 396.4 kB / 1.206 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.059, allocations: 0 / 1.206 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001328/1.061, allocations: 1.014 MB / 1.207 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.061, allocations: 4 kB / 1.207 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.061, allocations: 11.94 kB / 1.207 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.061, allocations: 8 kB / 1.207 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/1.061, allocations: 123.7 kB / 1.208 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.061, allocations: 11.98 kB / 1.208 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/1.062, allocations: 138.5 kB / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/1.062, allocations: 47.94 kB / 1.208 GB, free: 10 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0006236/1.063, allocations: 449.6 kB / 1.208 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/1.063, allocations: 197.5 kB / 1.208 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/1.065, allocations: 1.076 MB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.065, allocations: 19.92 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.065, allocations: 4 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/1.065, allocations: 3.984 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/1.076, allocations: 8.655 MB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.076, allocations: 16 kB / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/1.077, allocations: 144.7 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.188e-05/1.077, allocations: 23.94 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/1.077, allocations: 44 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.3e-05/1.077, allocations: 27.92 kB / 1.218 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.112e-05/1.077, allocations: 23.88 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/1.08, allocations: 2.824 MB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/1.08, allocations: 414.6 kB / 1.221 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.081, allocations: 39.98 kB / 1.221 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/1.081, allocations: 35.84 kB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.081, allocations: 103.6 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/1.081, allocations: 59.97 kB / 1.222 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001742/1.083, allocations: 1.3 MB / 1.223 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.91e-07/1.083, allocations: 0 / 1.223 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001696/1.085, allocations: 0.5113 MB / 1.223 GB, free: 8.715 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006033/1.091, allocations: 8.201 MB / 1.231 GB, free: 40 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001217/1.092, allocations: 0.8068 MB / 1.232 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.092, allocations: 4 kB / 1.232 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/1.093, allocations: 490.3 kB / 1.233 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006109/1.099, allocations: 1.259 MB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.12, allocations: 13.38 MB / 1.247 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/1.121, allocations: 1.437 MB / 1.248 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001774/1.123, allocations: 478.7 kB / 1.249 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/1.124, allocations: 0.6671 MB / 1.249 GB, free: 12.48 MB / 1.014 GB Notification: Performance of SimCode: time 6.81e-07/1.124, allocations: 0 / 1.249 GB, free: 12.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5812/1.705, allocations: 59.65 MB / 1.308 GB, free: 269.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/1.705, allocations: 218.9 kB / 1.308 GB, free: 269 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/4.963, allocations: 0 / 1.308 GB, free: 269 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat does not exist to compare? outputFormat=mat