Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_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.001217/0.001217, allocations: 91.3 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.001578/0.001578, 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.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.696/2.696, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/0.8364, allocations: 146.8 MB / 0.9811 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.2724/1.109, allocations: 218.8 MB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01291/1.122, allocations: 6.796 MB / 1.201 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/1.124, allocations: 43.69 kB / 1.202 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/1.125, allocations: 337.7 kB / 1.202 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/1.129, allocations: 1.011 MB / 1.203 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003754/1.132, allocations: 1.243 MB / 1.204 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003263/1.136, allocations: 2.361 MB / 1.206 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/1.137, allocations: 0.6364 MB / 1.207 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/1.14, allocations: 1.163 MB / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000963/1.141, allocations: 0.6459 MB / 1.209 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.51e-05/1.141, allocations: 44 kB / 1.209 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/1.143, allocations: 1.083 MB / 1.21 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/1.144, allocations: 267.1 kB / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002897/1.144, allocations: 189.3 kB / 1.21 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/1.145, allocations: 1.146 MB / 1.211 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.145, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/1.145, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.326e-05/1.145, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9669 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.001981/1.147, allocations: 1.161 MB / 1.213 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.147, allocations: 12.03 kB / 1.213 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/1.148, allocations: 90.52 kB / 1.213 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/1.149, allocations: 286.6 kB / 1.213 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/1.15, allocations: 0.6327 MB / 1.214 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/1.15, allocations: 40.95 kB / 1.214 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/1.15, allocations: 56 kB / 1.214 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.152, allocations: 0.6154 MB / 1.214 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.152, allocations: 0 / 1.214 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/1.152, allocations: 20 kB / 1.214 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.152, allocations: 12 kB / 1.214 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/1.153, allocations: 0.6285 MB / 1.215 GB, free: 6.305 MB / 0.9669 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.003422/1.156, allocations: 2.626 MB / 1.217 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/1.157, allocations: 493.1 kB / 1.218 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/1.158, allocations: 321.4 kB / 1.218 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.158, allocations: 420.6 kB / 1.219 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.158, allocations: 45.94 kB / 1.219 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006568/1.159, allocations: 187.4 kB / 1.219 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 2.455e-06/1.159, allocations: 0 / 1.219 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.002559/1.162, allocations: 1.12 MB / 1.22 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.162, allocations: 55.41 kB / 1.22 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/1.162, allocations: 0.6491 MB / 1.221 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/1.163, allocations: 33.7 kB / 1.221 GB, free: 8 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/1.163, allocations: 345.1 kB / 1.221 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/1.163, allocations: 157.7 kB / 1.221 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/1.163, allocations: 8 kB / 1.221 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.163, allocations: 318 kB / 1.221 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/1.164, allocations: 228.7 kB / 1.222 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/1.164, allocations: 328.3 kB / 1.222 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/1.165, allocations: 260.7 kB / 1.222 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.165, allocations: 0 / 1.222 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001465/1.166, allocations: 0.7222 MB / 1.223 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/1.166, allocations: 113.5 kB / 1.223 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.166, allocations: 0 / 1.223 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/1.167, allocations: 92.7 kB / 1.223 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/1.167, allocations: 103.9 kB / 1.223 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005882/1.168, allocations: 0.6186 MB / 1.224 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/1.168, allocations: 67.97 kB / 1.224 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/1.168, allocations: 19.98 kB / 1.224 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.169, allocations: 4 kB / 1.224 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/1.17, allocations: 0.5965 MB / 1.224 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.17, allocations: 4 kB / 1.224 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/1.17, allocations: 56.83 kB / 1.225 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/1.17, allocations: 103.9 kB / 1.225 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.172, allocations: 1.69 MB / 1.226 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/1.173, allocations: 59.95 kB / 1.226 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/1.173, allocations: 31.92 kB / 1.226 GB, free: 9.906 MB / 0.9825 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.0004011/1.173, allocations: 293 kB / 1.227 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.173, allocations: 83.06 kB / 1.227 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.175, allocations: 0.7741 MB / 1.227 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.175, allocations: 4 kB / 1.227 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.175, allocations: 3.984 kB / 1.227 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.175, allocations: 0 / 1.227 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/1.177, allocations: 1.681 MB / 1.229 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.177, allocations: 0 / 1.229 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/1.178, allocations: 83.89 kB / 1.229 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/1.178, allocations: 73.16 kB / 1.229 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/1.178, allocations: 16 kB / 1.229 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/1.179, allocations: 0.6226 MB / 1.23 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.179, allocations: 4 kB / 1.23 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.18, allocations: 1.193 MB / 1.231 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/1.181, allocations: 204.1 kB / 1.231 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/1.181, allocations: 15.98 kB / 1.231 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/1.181, allocations: 67.78 kB / 1.231 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.182, allocations: 43.84 kB / 1.231 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/1.182, allocations: 23.94 kB / 1.231 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005743/1.182, allocations: 467 kB / 1.232 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.182, allocations: 0 / 1.232 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001114/1.183, allocations: 371.4 kB / 1.232 GB, free: 3.688 MB / 0.9825 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.002493/1.186, allocations: 1.839 MB / 1.234 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001887/1.188, allocations: 0.9826 MB / 1.235 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.188, allocations: 0 / 1.235 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005599/1.188, allocations: 312.5 kB / 1.235 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.191, allocations: 457.1 kB / 1.236 GB, free: 48 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.202, allocations: 4.957 MB / 1.241 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/1.202, allocations: 0.9736 MB / 1.241 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001044/1.203, allocations: 218 kB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/1.204, allocations: 286.2 kB / 1.242 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.204, allocations: 0 / 1.242 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6408/1.845, allocations: 22.64 MB / 1.264 GB, free: 264.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.845, allocations: 280.2 kB / 1.264 GB, free: 263.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/4.278, allocations: 1.25 kB / 1.264 GB, free: 263.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat does not exist to compare? outputFormat=mat