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.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001348/0.001348, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.54/1.54, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.456/2.456, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9108/0.9121, allocations: 140.4 MB / 0.9489 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2033/1.115, allocations: 159.1 MB / 1.104 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002265/1.118, allocations: 0.9704 MB / 1.105 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/1.118, allocations: 7.938 kB / 1.105 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006805/1.119, allocations: 127.2 kB / 1.105 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/1.121, allocations: 0.5954 MB / 1.106 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/1.121, allocations: 205.3 kB / 1.106 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009111/1.122, allocations: 0.7371 MB / 1.107 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/1.123, allocations: 164.1 kB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004892/1.123, allocations: 215.1 kB / 1.107 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/1.123, allocations: 167.3 kB / 1.107 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/1.124, allocations: 8 kB / 1.107 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/1.125, allocations: 0.639 MB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/1.125, allocations: 83.72 kB / 1.108 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/1.125, allocations: 115.4 kB / 1.108 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007821/1.126, allocations: 0.4986 MB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/1.126, allocations: 0 / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.192e-06/1.126, allocations: 0 / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.2e-06/1.126, allocations: 0 / 1.109 GB, free: 14.12 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.001668/1.128, allocations: 0.604 MB / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/1.128, allocations: 8.031 kB / 1.109 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003201/1.128, allocations: 43.69 kB / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/1.129, allocations: 290.2 kB / 1.11 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/1.129, allocations: 12.33 kB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/1.129, allocations: 16 kB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/1.129, allocations: 238.9 kB / 1.11 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.129, allocations: 0 / 1.11 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/1.129, allocations: 4 kB / 1.11 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/1.129, allocations: 19.92 kB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/1.13, allocations: 251.8 kB / 1.11 GB, free: 12.56 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.001692/1.132, allocations: 0.8353 MB / 1.111 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/1.132, allocations: 149.5 kB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.133, allocations: 108.9 kB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/1.133, allocations: 194.2 kB / 1.111 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.133, allocations: 30.56 kB / 1.111 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 2.414e-06/1.133, allocations: 0 / 1.111 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.001096/1.134, allocations: 297.3 kB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/1.134, allocations: 67.28 kB / 1.112 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/1.135, allocations: 241 kB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/1.135, allocations: 29.7 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/1.135, allocations: 140.2 kB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/1.135, allocations: 47.3 kB / 1.112 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/1.135, allocations: 37.7 kB / 1.112 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002594/1.135, allocations: 326.8 kB / 1.113 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/1.135, allocations: 71.94 kB / 1.113 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/1.136, allocations: 102.5 kB / 1.113 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/1.136, allocations: 166.4 kB / 1.113 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.136, allocations: 4 kB / 1.113 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000492/1.137, allocations: 214 kB / 1.113 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.137, allocations: 11.92 kB / 1.113 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.137, allocations: 0 / 1.113 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.137, allocations: 4 kB / 1.113 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/1.137, allocations: 27.98 kB / 1.113 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.137, allocations: 4 kB / 1.113 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/1.137, allocations: 23.89 kB / 1.113 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/1.137, allocations: 11.98 kB / 1.113 GB, free: 9.262 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.0001828/1.137, allocations: 141.8 kB / 1.113 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/1.137, allocations: 27.66 kB / 1.113 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.856e-05/1.137, allocations: 29.83 kB / 1.113 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/1.138, allocations: 4 kB / 1.113 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.138, allocations: 0 / 1.113 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.138, allocations: 4 kB / 1.113 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.139, allocations: 0.6797 MB / 1.114 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.139, allocations: 0 / 1.114 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/1.139, allocations: 35.91 kB / 1.114 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.139, allocations: 0 / 1.114 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.139, allocations: 7.938 kB / 1.114 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.139, allocations: 4 kB / 1.114 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.139, allocations: 0 / 1.114 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/1.14, allocations: 365.9 kB / 1.114 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/1.14, allocations: 116.8 kB / 1.114 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/1.14, allocations: 8 kB / 1.114 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/1.14, allocations: 11.98 kB / 1.115 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/1.14, allocations: 19.86 kB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/1.14, allocations: 8 kB / 1.115 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001918/1.14, allocations: 176.5 kB / 1.115 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.14, allocations: 0 / 1.115 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003924/1.141, allocations: 63.92 kB / 1.115 GB, free: 7.438 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.0005203/1.141, allocations: 152.6 kB / 1.115 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005013/1.142, allocations: 175.8 kB / 1.115 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.142, allocations: 0 / 1.115 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/1.142, allocations: 96.44 kB / 1.115 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.143, allocations: 118.6 kB / 1.115 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/1.144, allocations: 0.4938 MB / 1.116 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/1.144, allocations: 0.7521 MB / 1.116 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002253/1.145, allocations: 57.91 kB / 1.117 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/1.145, allocations: 23.44 kB / 1.117 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/1.145, allocations: 7.875 kB / 1.117 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.008895/1.154, allocations: 4.211 MB / 1.121 GB, free: 1.359 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