Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.001297/0.001297, allocations: 100.2 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.001405/0.001405, 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 2.585/2.585, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.707/4.707, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006614/0.0006612, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637/1.638, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.4032/2.041, allocations: 196.6 MB / 1.173 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02035/2.062, allocations: 7.203 MB / 1.18 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/2.065, allocations: 43.69 kB / 1.18 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005028/2.07, allocations: 0.6766 MB / 1.181 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/2.082, allocations: 1.923 MB / 1.182 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008744/2.091, allocations: 1.539 MB / 1.184 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004649/2.095, allocations: 1.171 MB / 1.185 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/2.097, allocations: 0.6287 MB / 1.186 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/2.103, allocations: 1.172 MB / 1.187 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/2.105, allocations: 462.2 kB / 1.187 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004235/2.105, allocations: 40 kB / 1.187 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/2.109, allocations: 0.6163 MB / 1.188 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008302/2.11, allocations: 243.2 kB / 1.188 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/2.111, allocations: 189.3 kB / 1.188 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003528/2.115, allocations: 0.9391 MB / 1.189 GB, free: 328 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/2.115, allocations: 0 / 1.189 GB, free: 328 kB / 0.9356 GB Notification: Performance of FrontEnd: time 6.423e-06/2.115, allocations: 0 / 1.189 GB, free: 328 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.553e-05/2.115, allocations: 0 / 1.189 GB, free: 328 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00447/2.12, allocations: 1.086 MB / 1.19 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 8.239e-05/2.12, allocations: 8.031 kB / 1.19 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003847/2.12, allocations: 86.52 kB / 1.19 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/2.124, allocations: 294.6 kB / 1.191 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/2.127, allocations: 0.6249 MB / 1.191 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/2.127, allocations: 48.94 kB / 1.191 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/2.127, allocations: 48 kB / 1.191 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/2.13, allocations: 0.5998 MB / 1.192 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/2.13, allocations: 3.984 kB / 1.192 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/2.13, allocations: 20 kB / 1.192 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/2.13, allocations: 12 kB / 1.192 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/2.132, allocations: 0.6207 MB / 1.193 GB, free: 12.77 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.007363/2.139, allocations: 2.696 MB / 1.195 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/2.141, allocations: 399.4 kB / 1.196 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/2.141, allocations: 141.4 kB / 1.196 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/2.141, allocations: 38.89 kB / 1.196 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001376/2.143, allocations: 199.4 kB / 1.196 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=39): time 2.147e-05/2.143, allocations: 0 / 1.196 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39): time 0.003112/2.146, allocations: 0.8269 MB / 1.197 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.715e-05/2.146, allocations: 55.41 kB / 1.197 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/2.148, allocations: 0.6922 MB / 1.198 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/2.148, allocations: 33.7 kB / 1.198 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000566/2.149, allocations: 360.4 kB / 1.198 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/2.149, allocations: 138 kB / 1.198 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/2.149, allocations: 8 kB / 1.198 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002299/2.149, allocations: 321.9 kB / 1.198 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/2.15, allocations: 212.6 kB / 1.199 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/2.151, allocations: 297 kB / 1.199 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008937/2.152, allocations: 247.8 kB / 1.199 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/2.152, allocations: 3.938 kB / 1.199 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002045/2.154, allocations: 0.6207 MB / 1.2 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/2.154, allocations: 8.156 kB / 1.2 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/2.154, allocations: 4 kB / 1.2 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/2.154, allocations: 4 kB / 1.2 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/2.155, allocations: 103.9 kB / 1.2 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/2.155, allocations: 4 kB / 1.2 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/2.156, allocations: 55.94 kB / 1.2 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/2.156, allocations: 23.98 kB / 1.2 GB, free: 4.969 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * 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.0006638/2.157, allocations: 229.6 kB / 1.2 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/2.157, allocations: 82.97 kB / 1.2 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/2.16, allocations: 0.6456 MB / 1.201 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/2.16, allocations: 4 kB / 1.201 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/2.16, allocations: 0 / 1.201 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/2.16, allocations: 0 / 1.201 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/2.164, allocations: 1.524 MB / 1.202 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/2.164, allocations: 7.953 kB / 1.202 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/2.165, allocations: 83.89 kB / 1.202 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.995e-05/2.165, allocations: 7.938 kB / 1.202 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/2.165, allocations: 16 kB / 1.202 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.706e-05/2.165, allocations: 7.938 kB / 1.202 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/2.165, allocations: 4 kB / 1.202 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/2.168, allocations: 1.207 MB / 1.204 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/2.169, allocations: 200.1 kB / 1.204 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/2.169, allocations: 8 kB / 1.204 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/2.17, allocations: 59.8 kB / 1.204 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/2.17, allocations: 43.84 kB / 1.204 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/2.17, allocations: 12 kB / 1.204 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001243/2.171, allocations: 499 kB / 1.204 GB, free: 88 kB / 0.9512 GB Notification: Performance of sort global known variables: time 8.31e-07/2.171, allocations: 0 / 1.204 GB, free: 88 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001499/2.173, allocations: 203.7 kB / 1.205 GB, free: 15.88 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 42 * 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.004799/2.177, allocations: 2.744 MB / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001836/2.179, allocations: 0.5 MB / 1.208 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/2.179, allocations: 0 / 1.208 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009131/2.18, allocations: 285.5 kB / 1.208 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/2.184, allocations: 489 kB / 1.209 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/2.204, allocations: 5.622 MB / 1.214 GB, free: 6 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/2.205, allocations: 0.9769 MB / 1.215 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001676/2.207, allocations: 178.4 kB / 1.215 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007821/2.208, allocations: 279.3 kB / 1.215 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of SimCode: time 2.164e-06/2.208, allocations: 0 / 1.215 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07927/2.287, allocations: 21.96 MB / 1.237 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004148/2.288, allocations: 269.9 kB / 1.237 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.215/6.502, allocations: 0 / 1.237 GB, free: 14.66 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat does not exist to compare? outputFormat=mat