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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001032/0.001032, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 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.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.61/2.61, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004004, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8476, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.182/1.03, allocations: 146.5 MB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001836/1.032, allocations: 0.9162 MB / 1.098 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/1.032, allocations: 7.938 kB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004678/1.032, allocations: 107.2 kB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001261/1.033, allocations: 461.9 kB / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/1.034, allocations: 192.9 kB / 1.099 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006615/1.035, allocations: 0.6162 MB / 1.1 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/1.035, allocations: 148 kB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/1.035, allocations: 215.2 kB / 1.1 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/1.036, allocations: 163.3 kB / 1.1 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/1.036, allocations: 8 kB / 1.1 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/1.036, allocations: 287.3 kB / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.725e-05/1.036, allocations: 79.77 kB / 1.101 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/1.036, allocations: 65.58 kB / 1.101 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/1.037, allocations: 295.3 kB / 1.101 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.037, allocations: 0 / 1.101 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/1.037, allocations: 3.938 kB / 1.101 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.607e-06/1.037, allocations: 4 kB / 1.101 GB, free: 9.098 MB / 0.8575 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.00127/1.038, allocations: 0.5533 MB / 1.101 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.038, allocations: 12.03 kB / 1.101 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/1.038, allocations: 47.69 kB / 1.102 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/1.039, allocations: 274.4 kB / 1.102 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/1.039, allocations: 12.33 kB / 1.102 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/1.039, allocations: 20 kB / 1.102 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/1.039, allocations: 246.9 kB / 1.102 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.039, allocations: 4 kB / 1.102 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/1.039, allocations: 4 kB / 1.102 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.039, allocations: 11.98 kB / 1.102 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/1.04, allocations: 255.8 kB / 1.102 GB, free: 7.582 MB / 0.8575 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.001264/1.041, allocations: 0.8431 MB / 1.103 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/1.042, allocations: 150.4 kB / 1.103 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/1.042, allocations: 120.9 kB / 1.103 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/1.042, allocations: 190.2 kB / 1.104 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/1.042, allocations: 42.56 kB / 1.104 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 3.276e-06/1.042, allocations: 3.984 kB / 1.104 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0008059/1.043, allocations: 317.2 kB / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.043, allocations: 55.34 kB / 1.104 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/1.043, allocations: 241 kB / 1.104 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/1.043, allocations: 29.7 kB / 1.104 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/1.044, allocations: 132.2 kB / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/1.044, allocations: 51.3 kB / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/1.044, allocations: 0 / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.044, allocations: 338.8 kB / 1.105 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/1.044, allocations: 67.94 kB / 1.105 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/1.044, allocations: 106.5 kB / 1.105 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/1.044, allocations: 87.94 kB / 1.105 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.044, allocations: 0 / 1.105 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000428/1.045, allocations: 222 kB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.045, allocations: 4 kB / 1.105 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.045, allocations: 0 / 1.105 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.045, allocations: 4 kB / 1.105 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/1.045, allocations: 43.86 kB / 1.105 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.045, allocations: 0 / 1.105 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/1.045, allocations: 31.86 kB / 1.105 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/1.045, allocations: 11.94 kB / 1.105 GB, free: 4.344 MB / 0.8575 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.00015/1.045, allocations: 141.8 kB / 1.105 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/1.045, allocations: 19.72 kB / 1.105 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/1.046, allocations: 33.83 kB / 1.105 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/1.046, allocations: 0 / 1.105 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.046, allocations: 3.953 kB / 1.105 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.046, allocations: 3.938 kB / 1.105 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/1.047, allocations: 0.6874 MB / 1.106 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.047, allocations: 4 kB / 1.106 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/1.047, allocations: 27.98 kB / 1.106 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.047, allocations: 4 kB / 1.106 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/1.047, allocations: 7.984 kB / 1.106 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.047, allocations: 3.938 kB / 1.106 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.047, allocations: 4 kB / 1.106 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/1.047, allocations: 372 kB / 1.107 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.047, allocations: 116.8 kB / 1.107 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/1.047, allocations: 11.98 kB / 1.107 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/1.048, allocations: 8 kB / 1.107 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/1.048, allocations: 19.97 kB / 1.107 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.048, allocations: 11.98 kB / 1.107 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001753/1.048, allocations: 172.5 kB / 1.107 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.048, allocations: 0 / 1.107 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003394/1.048, allocations: 59.94 kB / 1.107 GB, free: 2.512 MB / 0.8575 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.0004024/1.049, allocations: 158.4 kB / 1.107 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004383/1.049, allocations: 183.8 kB / 1.107 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.049, allocations: 0 / 1.107 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/1.049, allocations: 104.4 kB / 1.107 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008128/1.05, allocations: 116.2 kB / 1.107 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/1.051, allocations: 0.4981 MB / 1.108 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/1.051, allocations: 0.7521 MB / 1.109 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002064/1.051, allocations: 65.89 kB / 1.109 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/1.052, allocations: 23.44 kB / 1.109 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/1.052, allocations: 0 / 1.109 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of Templates: time 0.009229/1.061, allocations: 4.055 MB / 1.113 GB, free: 12.56 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