Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.00111/0.00111, 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.001132/0.001132, 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.439/1.439, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.379/2.379, allocations: 390.2 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003719, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7874, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.2369/1.024, allocations: 196.6 MB / 1.146 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01188/1.036, allocations: 7.26 MB / 1.153 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/1.038, allocations: 43.69 kB / 1.153 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/1.04, allocations: 0.6611 MB / 1.153 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007284/1.048, allocations: 1.944 MB / 1.155 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005355/1.053, allocations: 1.612 MB / 1.157 GB, free: 15.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003253/1.056, allocations: 1.206 MB / 1.158 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/1.058, allocations: 0.6327 MB / 1.159 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003132/1.061, allocations: 1.2 MB / 1.16 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009401/1.062, allocations: 478.1 kB / 1.16 GB, free: 12.06 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/1.062, allocations: 44 kB / 1.16 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/1.064, allocations: 0.784 MB / 1.161 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002836/1.064, allocations: 247.3 kB / 1.161 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/1.065, allocations: 193.3 kB / 1.161 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/1.066, allocations: 1.013 MB / 1.162 GB, free: 9.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/1.066, allocations: 0 / 1.162 GB, free: 9.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.544e-06/1.066, allocations: 4 kB / 1.162 GB, free: 9.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.066, allocations: 0 / 1.162 GB, free: 9.773 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00215/1.068, allocations: 1.108 MB / 1.164 GB, free: 8.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.068, allocations: 16.03 kB / 1.164 GB, free: 8.598 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/1.068, allocations: 90.52 kB / 1.164 GB, free: 8.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/1.07, allocations: 290.6 kB / 1.164 GB, free: 8.215 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.071, allocations: 0.6366 MB / 1.165 GB, free: 7.535 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/1.072, allocations: 37 kB / 1.165 GB, free: 7.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/1.072, allocations: 55.91 kB / 1.165 GB, free: 7.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.073, allocations: 0.6115 MB / 1.165 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.073, allocations: 3.953 kB / 1.165 GB, free: 6.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/1.073, allocations: 23.94 kB / 1.165 GB, free: 6.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/1.073, allocations: 15.94 kB / 1.165 GB, free: 6.781 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/1.074, allocations: 0.6285 MB / 1.166 GB, free: 6.152 MB / 0.92 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.003705/1.078, allocations: 2.618 MB / 1.168 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/1.079, allocations: 0.5035 MB / 1.169 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/1.079, allocations: 149.4 kB / 1.169 GB, free: 2.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.079, allocations: 38.94 kB / 1.169 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007436/1.08, allocations: 191.4 kB / 1.169 GB, free: 2.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/1.08, allocations: 0 / 1.169 GB, free: 2.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002747/1.083, allocations: 1.109 MB / 1.17 GB, free: 1.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.083, allocations: 63.09 kB / 1.17 GB, free: 1.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/1.084, allocations: 0.649 MB / 1.171 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/1.084, allocations: 37.7 kB / 1.171 GB, free: 496 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/1.084, allocations: 345.1 kB / 1.171 GB, free: 148 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/1.084, allocations: 157.8 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/1.084, allocations: 4 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.084, allocations: 329.9 kB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/1.085, allocations: 224.7 kB / 1.172 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/1.085, allocations: 320.4 kB / 1.172 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/1.086, allocations: 260.6 kB / 1.173 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.086, allocations: 0 / 1.173 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001451/1.087, allocations: 0.7183 MB / 1.173 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.087, allocations: 280.8 kB / 1.174 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.087, allocations: 0 / 1.174 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/1.088, allocations: 88.81 kB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/1.088, allocations: 95.86 kB / 1.174 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004787/1.089, allocations: 0.6226 MB / 1.174 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/1.089, allocations: 71.88 kB / 1.174 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/1.089, allocations: 19.97 kB / 1.175 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.089, allocations: 4 kB / 1.175 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/1.09, allocations: 0.5927 MB / 1.175 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/1.091, allocations: 0 / 1.175 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/1.091, allocations: 72.73 kB / 1.175 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/1.091, allocations: 91.91 kB / 1.175 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/1.093, allocations: 1.698 MB / 1.177 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/1.094, allocations: 71.89 kB / 1.177 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.094, allocations: 19.98 kB / 1.177 GB, free: 10.21 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004099/1.094, allocations: 297 kB / 1.177 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.094, allocations: 75.06 kB / 1.177 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/1.096, allocations: 0.7702 MB / 1.178 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/1.096, allocations: 4 kB / 1.178 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.096, allocations: 7.938 kB / 1.178 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.096, allocations: 3.984 kB / 1.178 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/1.098, allocations: 1.681 MB / 1.18 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.098, allocations: 4 kB / 1.18 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/1.099, allocations: 91.88 kB / 1.18 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/1.099, allocations: 77.17 kB / 1.18 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/1.099, allocations: 15.94 kB / 1.18 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004096/1.1, allocations: 0.6187 MB / 1.181 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.1, allocations: 7.938 kB / 1.181 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.102, allocations: 1.335 MB / 1.182 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/1.102, allocations: 204.1 kB / 1.182 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/1.102, allocations: 15.98 kB / 1.182 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/1.103, allocations: 75.73 kB / 1.182 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.103, allocations: 40.03 kB / 1.182 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/1.103, allocations: 20 kB / 1.182 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006238/1.104, allocations: 467 kB / 1.183 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/1.104, allocations: 3.938 kB / 1.183 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001137/1.105, allocations: 371.4 kB / 1.183 GB, free: 3.758 MB / 0.9356 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): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002951/1.108, allocations: 2.869 MB / 1.186 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001976/1.11, allocations: 0.9827 MB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.11, allocations: 4.188 kB / 1.187 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000586/1.11, allocations: 316.3 kB / 1.187 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/1.112, allocations: 468.5 kB / 1.188 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.123, allocations: 5.195 MB / 1.193 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/1.123, allocations: 0.9814 MB / 1.194 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00102/1.124, allocations: 225.9 kB / 1.194 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/1.125, allocations: 283.3 kB / 1.194 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.125, allocations: 0 / 1.194 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/1.166, allocations: 22.61 MB / 1.216 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.166, allocations: 266.6 kB / 1.216 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.344, allocations: 4 kB / 1.216 GB, free: 1.703 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat does not exist to compare? outputFormat=mat