Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 99.94 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.001484/0.001484, allocations: 177.3 kB / 15.95 MB, free: 216 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.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.876/2.876, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004427, allocations: 15.94 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.8772, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1733/1.051, allocations: 135.5 MB / 1.153 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001993/1.053, allocations: 0.987 MB / 1.154 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/1.053, allocations: 7.938 kB / 1.154 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/1.054, allocations: 179.2 kB / 1.154 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001162/1.055, allocations: 418.8 kB / 1.155 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/1.055, allocations: 266.3 kB / 1.155 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004193/1.056, allocations: 316.3 kB / 1.155 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/1.056, allocations: 152.2 kB / 1.155 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/1.057, allocations: 251.2 kB / 1.156 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/1.057, allocations: 107.6 kB / 1.156 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/1.057, allocations: 8 kB / 1.156 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/1.058, allocations: 239.6 kB / 1.156 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/1.058, allocations: 71.81 kB / 1.156 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/1.058, allocations: 65.58 kB / 1.156 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/1.058, allocations: 271.3 kB / 1.156 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/1.058, allocations: 4 kB / 1.156 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/1.058, allocations: 0 / 1.156 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.758e-06/1.058, allocations: 0 / 1.156 GB, free: 6.004 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001353/1.059, allocations: 0.5456 MB / 1.157 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.06, allocations: 11.98 kB / 1.157 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/1.06, allocations: 43.69 kB / 1.157 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/1.06, allocations: 266.6 kB / 1.157 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/1.06, allocations: 24.2 kB / 1.157 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/1.06, allocations: 16 kB / 1.157 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/1.061, allocations: 251 kB / 1.157 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.061, allocations: 3.953 kB / 1.157 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/1.061, allocations: 4 kB / 1.157 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/1.061, allocations: 12 kB / 1.157 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/1.061, allocations: 263.6 kB / 1.158 GB, free: 4.488 MB / 0.9044 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.00122/1.063, allocations: 0.777 MB / 1.158 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/1.063, allocations: 150.6 kB / 1.159 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/1.063, allocations: 4 kB / 1.159 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.063, allocations: 42.5 kB / 1.159 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.063, allocations: 0 / 1.159 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.00089/1.064, allocations: 312.2 kB / 1.159 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.064, allocations: 55.41 kB / 1.159 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/1.064, allocations: 237 kB / 1.159 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/1.064, allocations: 37.7 kB / 1.159 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.064, allocations: 132.2 kB / 1.159 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/1.065, allocations: 51.3 kB / 1.159 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/1.065, allocations: 0 / 1.159 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.065, allocations: 330.8 kB / 1.16 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/1.065, allocations: 71.95 kB / 1.16 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/1.065, allocations: 110.5 kB / 1.16 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/1.065, allocations: 79.89 kB / 1.16 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.065, allocations: 0 / 1.16 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004407/1.066, allocations: 233.2 kB / 1.16 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.066, allocations: 4 kB / 1.16 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.066, allocations: 0 / 1.16 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.066, allocations: 0 / 1.16 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/1.066, allocations: 44.03 kB / 1.16 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.066, allocations: 0 / 1.16 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/1.066, allocations: 23.83 kB / 1.16 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/1.066, allocations: 4 kB / 1.16 GB, free: 1.672 MB / 0.9044 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 (15): * Single equations (assignments): 15 * 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.0001318/1.066, allocations: 145.8 kB / 1.16 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/1.066, allocations: 27.67 kB / 1.16 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/1.067, allocations: 37.77 kB / 1.161 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.067, allocations: 4 kB / 1.161 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.067, allocations: 0 / 1.161 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.067, allocations: 4.031 kB / 1.161 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/1.068, allocations: 0.6874 MB / 1.161 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.068, allocations: 0 / 1.161 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/1.068, allocations: 44.12 kB / 1.161 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/1.068, allocations: 0 / 1.161 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/1.068, allocations: 11.94 kB / 1.161 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.068, allocations: 4 kB / 1.161 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.068, allocations: 0 / 1.161 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/1.068, allocations: 454 kB / 1.162 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/1.069, allocations: 117 kB / 1.162 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/1.069, allocations: 0 / 1.162 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/1.069, allocations: 27.92 kB / 1.162 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/1.069, allocations: 15.7 kB / 1.162 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/1.069, allocations: 8 kB / 1.162 GB, free: 15.92 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001535/1.069, allocations: 176.5 kB / 1.162 GB, free: 15.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.069, allocations: 0 / 1.162 GB, free: 15.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003443/1.069, allocations: 52 kB / 1.162 GB, free: 15.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.000353/1.07, allocations: 152.7 kB / 1.162 GB, free: 15.54 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00044/1.07, allocations: 182.6 kB / 1.162 GB, free: 15.37 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.07, allocations: 0 / 1.162 GB, free: 15.37 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/1.07, allocations: 100.2 kB / 1.162 GB, free: 15.27 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/1.071, allocations: 112.6 kB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/1.072, allocations: 0.4981 MB / 1.163 GB, free: 14.61 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/1.072, allocations: 0.7638 MB / 1.164 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002473/1.073, allocations: 61.89 kB / 1.164 GB, free: 13.76 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/1.073, allocations: 19.44 kB / 1.164 GB, free: 13.74 MB / 0.92 GB Notification: Performance of SimCode: time 6.92e-07/1.073, allocations: 7.938 kB / 1.164 GB, free: 13.73 MB / 0.92 GB Notification: Performance of Templates: time 0.008159/1.081, allocations: 4.056 MB / 1.168 GB, free: 9.742 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches