Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_10_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.001718/0.001718, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002197/0.002197, allocations: 191.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.278/2.278, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.14 kB / 0.8688 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6595/0.661, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2652/0.9263, allocations: 237 MB / 1.248 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7157/1.642, allocations: 7.103 MB / 1.255 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/1.644, allocations: 46.09 kB / 1.255 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/1.645, allocations: 452.5 kB / 1.256 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/1.648, allocations: 1.223 MB / 1.257 GB, free: 19.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004082/1.652, allocations: 1.495 MB / 1.258 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003013/1.655, allocations: 1.952 MB / 1.26 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/1.657, allocations: 0.7619 MB / 1.261 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/1.66, allocations: 1.407 MB / 1.262 GB, free: 19.6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/1.661, allocations: 0.7005 MB / 1.263 GB, free: 19.6 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/1.661, allocations: 73.38 kB / 1.263 GB, free: 19.6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/1.664, allocations: 1.538 MB / 1.265 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003859/1.665, allocations: 293.7 kB / 1.265 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006721/1.665, allocations: 482.4 kB / 1.265 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003563/1.669, allocations: 1.726 MB / 1.267 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.669, allocations: 4.125 kB / 1.267 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.295e-06/1.669, allocations: 2.109 kB / 1.267 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.754e-05/1.669, allocations: 0.5 kB / 1.267 GB, free: 19.5 MB / 0.9981 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.002559/1.671, allocations: 1.257 MB / 1.268 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/1.672, allocations: 10.14 kB / 1.268 GB, free: 18.79 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/1.672, allocations: 91.78 kB / 1.268 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/1.673, allocations: 285.6 kB / 1.269 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.675, allocations: 0.6526 MB / 1.269 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/1.675, allocations: 36.16 kB / 1.269 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.675, allocations: 53.36 kB / 1.269 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/1.676, allocations: 0.6004 MB / 1.27 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.676, allocations: 4.156 kB / 1.27 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/1.676, allocations: 18.84 kB / 1.27 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.676, allocations: 12.84 kB / 1.27 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.677, allocations: 0.6061 MB / 1.271 GB, free: 18.35 MB / 0.9981 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.003479/1.681, allocations: 2.87 MB / 1.273 GB, free: 16.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/1.681, allocations: 399.5 kB / 1.274 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/1.682, allocations: 275.1 kB / 1.274 GB, free: 16.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/1.682, allocations: 405.1 kB / 1.274 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/1.682, allocations: 39.41 kB / 1.275 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006956/1.683, allocations: 162.7 kB / 1.275 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.064e-06/1.683, allocations: 1.891 kB / 1.275 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.001708/1.685, allocations: 0.8124 MB / 1.275 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/1.685, allocations: 62.53 kB / 1.276 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/1.685, allocations: 0.6955 MB / 1.276 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/1.686, allocations: 31.92 kB / 1.276 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/1.686, allocations: 356.8 kB / 1.277 GB, free: 16.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.686, allocations: 141.8 kB / 1.277 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.686, allocations: 89.5 kB / 1.277 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.32e-05/1.686, allocations: 327.9 kB / 1.277 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/1.686, allocations: 203.4 kB / 1.277 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/1.687, allocations: 302.8 kB / 1.278 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008706/1.688, allocations: 0.4965 MB / 1.278 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.688, allocations: 1.031 kB / 1.278 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001031/1.689, allocations: 0.6157 MB / 1.279 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.689, allocations: 10.31 kB / 1.279 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.689, allocations: 5.25 kB / 1.279 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.689, allocations: 3.344 kB / 1.279 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/1.689, allocations: 101.7 kB / 1.279 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.689, allocations: 3.5 kB / 1.279 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/1.69, allocations: 58.73 kB / 1.279 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/1.69, allocations: 27.88 kB / 1.279 GB, free: 15.45 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002445/1.69, allocations: 220.8 kB / 1.279 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.691, allocations: 81.64 kB / 1.279 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/1.692, allocations: 0.6531 MB / 1.28 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.692, allocations: 5.812 kB / 1.28 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.692, allocations: 0 / 1.28 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.692, allocations: 5.609 kB / 1.28 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/1.694, allocations: 1.519 MB / 1.281 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.694, allocations: 4.312 kB / 1.281 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/1.694, allocations: 84.91 kB / 1.281 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/1.694, allocations: 6.344 kB / 1.281 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.694, allocations: 14.89 kB / 1.281 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/1.694, allocations: 6.5 kB / 1.281 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.694, allocations: 6.219 kB / 1.281 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/1.696, allocations: 1.052 MB / 1.282 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/1.696, allocations: 193.4 kB / 1.283 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.696, allocations: 13.81 kB / 1.283 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/1.697, allocations: 47.8 kB / 1.283 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.697, allocations: 43.27 kB / 1.283 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/1.697, allocations: 15.94 kB / 1.283 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006601/1.698, allocations: 0.4884 MB / 1.283 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.244e-06/1.698, allocations: 0.8438 kB / 1.283 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007973/1.699, allocations: 203.3 kB / 1.283 GB, free: 14.27 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00195/1.701, allocations: 1.709 MB / 1.285 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009605/1.702, allocations: 0.5221 MB / 1.286 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.702, allocations: 0.9062 kB / 1.286 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/1.702, allocations: 280.4 kB / 1.286 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.704, allocations: 468.4 kB / 1.286 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.714, allocations: 6.903 MB / 1.293 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/1.715, allocations: 0.9634 MB / 1.294 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007752/1.716, allocations: 173.6 kB / 1.294 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.716, allocations: 290 kB / 1.294 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.716, allocations: 3.703 kB / 1.294 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.116/2.832, allocations: 22.56 MB / 1.316 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/2.832, allocations: 282.2 kB / 1.317 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/5.344, allocations: 0 / 1.317 GB, free: 7.477 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches