Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001023/0.001023, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001152/0.001152, allocations: 168.7 kB / 15.95 MB, free: 204 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.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.838/2.838, allocations: 437.7 MB / 0.7117 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003817, allocations: 15.92 kB / 0.8722 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.8781, allocations: 153.8 MB / 1.022 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1784/1.057, allocations: 146.5 MB / 1.165 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002391/1.059, allocations: 0.9335 MB / 1.166 GB, free: 12.28 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/1.059, allocations: 7.938 kB / 1.166 GB, free: 12.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/1.06, allocations: 103.3 kB / 1.166 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/1.062, allocations: 461.9 kB / 1.167 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/1.062, allocations: 199.1 kB / 1.167 GB, free: 11.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008909/1.063, allocations: 0.6162 MB / 1.168 GB, free: 10.9 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/1.064, allocations: 140.2 kB / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/1.064, allocations: 219.1 kB / 1.168 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/1.065, allocations: 155.3 kB / 1.168 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/1.065, allocations: 12 kB / 1.168 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007041/1.065, allocations: 291.2 kB / 1.168 GB, free: 10.1 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/1.065, allocations: 79.77 kB / 1.169 GB, free: 10.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/1.066, allocations: 69.58 kB / 1.169 GB, free: 9.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/1.066, allocations: 291.3 kB / 1.169 GB, free: 9.664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.066, allocations: 0 / 1.169 GB, free: 9.664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/1.066, allocations: 0 / 1.169 GB, free: 9.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.066, allocations: 0 / 1.169 GB, free: 9.664 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001345/1.067, allocations: 0.5572 MB / 1.169 GB, free: 9.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.067, allocations: 8.031 kB / 1.169 GB, free: 9.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/1.068, allocations: 47.69 kB / 1.169 GB, free: 9.004 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/1.068, allocations: 270.5 kB / 1.17 GB, free: 8.699 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.068, allocations: 16.33 kB / 1.17 GB, free: 8.684 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/1.068, allocations: 16 kB / 1.17 GB, free: 8.668 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/1.069, allocations: 251.1 kB / 1.17 GB, free: 8.418 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.069, allocations: 3.953 kB / 1.17 GB, free: 8.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/1.069, allocations: 7.984 kB / 1.17 GB, free: 8.406 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/1.069, allocations: 8 kB / 1.17 GB, free: 8.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/1.069, allocations: 263.6 kB / 1.17 GB, free: 8.141 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.001331/1.071, allocations: 0.8472 MB / 1.171 GB, free: 7.219 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/1.071, allocations: 142.5 kB / 1.171 GB, free: 7.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/1.071, allocations: 124.8 kB / 1.171 GB, free: 6.945 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/1.072, allocations: 194.2 kB / 1.172 GB, free: 6.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.072, allocations: 30.56 kB / 1.172 GB, free: 6.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/1.072, allocations: 0 / 1.172 GB, free: 6.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.0008802/1.072, allocations: 313.3 kB / 1.172 GB, free: 6.367 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/1.073, allocations: 51.41 kB / 1.172 GB, free: 6.305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/1.073, allocations: 241 kB / 1.172 GB, free: 6.062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.073, allocations: 29.7 kB / 1.172 GB, free: 6.027 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/1.073, allocations: 136.2 kB / 1.172 GB, free: 5.891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/1.073, allocations: 51.3 kB / 1.172 GB, free: 5.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/1.073, allocations: 0 / 1.172 GB, free: 5.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.073, allocations: 338.8 kB / 1.173 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/1.073, allocations: 71.83 kB / 1.173 GB, free: 5.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/1.074, allocations: 114.5 kB / 1.173 GB, free: 5.309 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/1.074, allocations: 79.95 kB / 1.173 GB, free: 5.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.074, allocations: 0 / 1.173 GB, free: 5.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004768/1.074, allocations: 230.4 kB / 1.173 GB, free: 5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.074, allocations: 4 kB / 1.173 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.074, allocations: 4 kB / 1.173 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.074, allocations: 0 / 1.173 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/1.075, allocations: 27.98 kB / 1.173 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.075, allocations: 7.938 kB / 1.173 GB, free: 4.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/1.075, allocations: 27.89 kB / 1.173 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/1.075, allocations: 11.98 kB / 1.173 GB, free: 4.918 MB / 0.92 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.0001388/1.075, allocations: 137.8 kB / 1.173 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/1.075, allocations: 23.67 kB / 1.173 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/1.075, allocations: 33.83 kB / 1.173 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.075, allocations: 0 / 1.173 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.075, allocations: 8 kB / 1.173 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.075, allocations: 0 / 1.173 GB, free: 4.711 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/1.076, allocations: 0.6835 MB / 1.174 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.076, allocations: 0 / 1.174 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/1.076, allocations: 35.91 kB / 1.174 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.077, allocations: 4 kB / 1.174 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.077, allocations: 4.219 kB / 1.174 GB, free: 3.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.077, allocations: 4 kB / 1.174 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.077, allocations: 11.88 kB / 1.174 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/1.077, allocations: 369.1 kB / 1.175 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/1.077, allocations: 112.8 kB / 1.175 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/1.077, allocations: 8 kB / 1.175 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/1.077, allocations: 15.98 kB / 1.175 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/1.077, allocations: 23.88 kB / 1.175 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.077, allocations: 8 kB / 1.175 GB, free: 3.309 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00016/1.078, allocations: 180.5 kB / 1.175 GB, free: 3.133 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.078, allocations: 3.938 kB / 1.175 GB, free: 3.129 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003607/1.078, allocations: 55.94 kB / 1.175 GB, free: 3.074 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.0004009/1.078, allocations: 153.5 kB / 1.175 GB, free: 2.926 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004565/1.079, allocations: 181 kB / 1.175 GB, free: 2.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.079, allocations: 0 / 1.175 GB, free: 2.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/1.079, allocations: 103.9 kB / 1.175 GB, free: 2.648 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/1.08, allocations: 122.5 kB / 1.175 GB, free: 2.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/1.081, allocations: 498.2 kB / 1.176 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/1.081, allocations: 0.7521 MB / 1.177 GB, free: 1.211 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002278/1.081, allocations: 61.91 kB / 1.177 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/1.081, allocations: 27.42 kB / 1.177 GB, free: 1.125 MB / 0.92 GB Notification: Performance of SimCode: time 5.01e-07/1.081, allocations: 0 / 1.177 GB, free: 1.125 MB / 0.92 GB Notification: Performance of Templates: time 0.008898/1.09, allocations: 4.06 MB / 1.181 GB, free: 13.13 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches