Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.001274/0.001274, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001571/0.001571, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.814, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2008/1.015, allocations: 159.1 MB / 1.104 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002333/1.017, allocations: 0.9529 MB / 1.105 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004438/1.018, allocations: 7.938 kB / 1.105 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007838/1.018, allocations: 139.2 kB / 1.106 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002303/1.021, allocations: 0.5954 MB / 1.106 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/1.022, allocations: 207.1 kB / 1.106 GB, free: 468 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008459/1.022, allocations: 0.5226 MB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/1.023, allocations: 179.9 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/1.024, allocations: 235.1 kB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/1.024, allocations: 175.3 kB / 1.107 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/1.024, allocations: 16 kB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/1.025, allocations: 0.561 MB / 1.108 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/1.025, allocations: 83.72 kB / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/1.025, allocations: 111.5 kB / 1.108 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/1.027, allocations: 0.518 MB / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.027, allocations: 0 / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.455e-06/1.027, allocations: 0 / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.137e-05/1.027, allocations: 0 / 1.109 GB, free: 14.06 MB / 0.8731 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.001828/1.028, allocations: 0.6039 MB / 1.109 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.029, allocations: 12.03 kB / 1.109 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003132/1.029, allocations: 51.62 kB / 1.109 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/1.029, allocations: 274.3 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.029, allocations: 20.3 kB / 1.11 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/1.029, allocations: 16 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/1.03, allocations: 242.9 kB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.03, allocations: 0 / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/1.03, allocations: 4 kB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/1.03, allocations: 19.92 kB / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/1.031, allocations: 247.8 kB / 1.11 GB, free: 12.5 MB / 0.8731 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.001406/1.032, allocations: 0.8353 MB / 1.111 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/1.032, allocations: 138.5 kB / 1.111 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/1.033, allocations: 116.9 kB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/1.033, allocations: 186.2 kB / 1.111 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.033, allocations: 34.5 kB / 1.111 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/1.033, allocations: 7.938 kB / 1.111 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0008758/1.034, allocations: 301.3 kB / 1.112 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.034, allocations: 51.41 kB / 1.112 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/1.034, allocations: 245 kB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/1.034, allocations: 25.7 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.034, allocations: 140.2 kB / 1.112 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/1.034, allocations: 47.3 kB / 1.112 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/1.034, allocations: 37.7 kB / 1.112 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.035, allocations: 330.8 kB / 1.113 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/1.035, allocations: 71.94 kB / 1.113 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/1.035, allocations: 106.4 kB / 1.113 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/1.035, allocations: 163.5 kB / 1.113 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.035, allocations: 0 / 1.113 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004927/1.036, allocations: 221.2 kB / 1.113 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.036, allocations: 14.28 kB / 1.113 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.036, allocations: 0 / 1.113 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.036, allocations: 0 / 1.113 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/1.036, allocations: 35.98 kB / 1.113 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.036, allocations: 0 / 1.113 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/1.036, allocations: 27.83 kB / 1.113 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/1.036, allocations: 7.984 kB / 1.113 GB, free: 9.195 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/1.037, allocations: 141.8 kB / 1.113 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/1.037, allocations: 27.69 kB / 1.113 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/1.037, allocations: 29.83 kB / 1.113 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.037, allocations: 7.938 kB / 1.113 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.037, allocations: 4 kB / 1.113 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.037, allocations: 0 / 1.113 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.038, allocations: 0.6834 MB / 1.114 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.038, allocations: 4 kB / 1.114 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/1.038, allocations: 27.97 kB / 1.114 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.038, allocations: 4 kB / 1.114 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/1.038, allocations: 8 kB / 1.114 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.038, allocations: 7.938 kB / 1.114 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.038, allocations: 0 / 1.114 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/1.039, allocations: 362.1 kB / 1.114 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/1.039, allocations: 120.8 kB / 1.114 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/1.039, allocations: 4 kB / 1.115 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/1.039, allocations: 11.98 kB / 1.115 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/1.039, allocations: 15.92 kB / 1.115 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/1.039, allocations: 8 kB / 1.115 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002453/1.039, allocations: 180.5 kB / 1.115 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.01e-07/1.039, allocations: 0 / 1.115 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003996/1.04, allocations: 59.94 kB / 1.115 GB, free: 7.367 MB / 0.8731 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 (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.0004327/1.04, allocations: 141.8 kB / 1.115 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005003/1.041, allocations: 181.4 kB / 1.115 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.041, allocations: 4.125 kB / 1.115 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/1.041, allocations: 95.81 kB / 1.115 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/1.042, allocations: 128.3 kB / 1.115 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008151/1.043, allocations: 0.4988 MB / 1.116 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/1.043, allocations: 0.7558 MB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002595/1.043, allocations: 65.89 kB / 1.117 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/1.043, allocations: 23.38 kB / 1.117 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.043, allocations: 0 / 1.117 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of Templates: time 0.00959/1.053, allocations: 4.347 MB / 1.121 GB, free: 1.145 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches