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.00156/0.00156, allocations: 109.7 kB / 16.27 MB, free: 6.016 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.001541/0.001541, allocations: 188.2 kB / 17.2 MB, free: 5.625 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.217/2.217, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.44 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.315, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.8142/1.129, allocations: 161.3 MB / 1.108 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00223/1.132, allocations: 0.952 MB / 1.109 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/1.132, allocations: 9.594 kB / 1.109 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/1.133, allocations: 164.3 kB / 1.109 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/1.135, allocations: 0.6394 MB / 1.11 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007435/1.135, allocations: 216.6 kB / 1.11 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008002/1.136, allocations: 0.5207 MB / 1.11 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/1.137, allocations: 174.4 kB / 1.11 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005489/1.137, allocations: 232.8 kB / 1.111 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/1.138, allocations: 160.4 kB / 1.111 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/1.138, allocations: 14.62 kB / 1.111 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/1.139, allocations: 0.5376 MB / 1.111 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/1.139, allocations: 80.95 kB / 1.111 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/1.139, allocations: 114 kB / 1.112 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/1.14, allocations: 485.3 kB / 1.112 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.14, allocations: 2.844 kB / 1.112 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.657e-06/1.14, allocations: 0.5938 kB / 1.112 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.736e-06/1.14, allocations: 0 / 1.112 GB, free: 5.574 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.00194/1.142, allocations: 0.5964 MB / 1.113 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.142, allocations: 9.531 kB / 1.113 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/1.143, allocations: 49.56 kB / 1.113 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/1.143, allocations: 277.4 kB / 1.113 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/1.143, allocations: 14.86 kB / 1.113 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/1.143, allocations: 18.66 kB / 1.113 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/1.144, allocations: 243.7 kB / 1.113 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.144, allocations: 4 kB / 1.113 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/1.144, allocations: 5.031 kB / 1.113 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.144, allocations: 9.234 kB / 1.113 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/1.144, allocations: 248.2 kB / 1.113 GB, free: 20.86 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.001321/1.146, allocations: 0.8551 MB / 1.114 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/1.146, allocations: 145.4 kB / 1.114 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/1.146, allocations: 110.7 kB / 1.114 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/1.147, allocations: 188.4 kB / 1.115 GB, free: 20.19 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/1.147, allocations: 35.84 kB / 1.115 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/1.147, allocations: 0.9062 kB / 1.115 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0008821/1.148, allocations: 295.7 kB / 1.115 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/1.148, allocations: 57.28 kB / 1.115 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/1.148, allocations: 241.6 kB / 1.115 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/1.148, allocations: 32.03 kB / 1.115 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/1.148, allocations: 138 kB / 1.115 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/1.148, allocations: 48.36 kB / 1.115 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/1.148, allocations: 37.66 kB / 1.116 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.148, allocations: 329.5 kB / 1.116 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/1.148, allocations: 66.88 kB / 1.116 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/1.149, allocations: 109.6 kB / 1.116 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/1.149, allocations: 163.5 kB / 1.116 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.149, allocations: 1.125 kB / 1.116 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004587/1.15, allocations: 217.3 kB / 1.116 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/1.15, allocations: 5.688 kB / 1.116 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.15, allocations: 6.141 kB / 1.116 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.15, allocations: 2.125 kB / 1.116 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/1.15, allocations: 31.42 kB / 1.116 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.15, allocations: 2.422 kB / 1.116 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/1.15, allocations: 22.38 kB / 1.116 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/1.15, allocations: 6.453 kB / 1.116 GB, free: 19.34 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.0001365/1.15, allocations: 146 kB / 1.117 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/1.15, allocations: 23 kB / 1.117 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/1.15, allocations: 33.39 kB / 1.117 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.15, allocations: 3.25 kB / 1.117 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.15, allocations: 1.125 kB / 1.117 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.15, allocations: 2.516 kB / 1.117 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/1.151, allocations: 0.6786 MB / 1.117 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/1.151, allocations: 4.344 kB / 1.117 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/1.152, allocations: 31.09 kB / 1.117 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.152, allocations: 3.312 kB / 1.117 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/1.152, allocations: 12.12 kB / 1.117 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.152, allocations: 2.25 kB / 1.117 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.152, allocations: 3.219 kB / 1.117 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/1.152, allocations: 362.1 kB / 1.118 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/1.152, allocations: 117.6 kB / 1.118 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.152, allocations: 4.812 kB / 1.118 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/1.153, allocations: 11.95 kB / 1.118 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/1.153, allocations: 19.95 kB / 1.118 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/1.153, allocations: 9.078 kB / 1.118 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001697/1.153, allocations: 175.3 kB / 1.118 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.153, allocations: 1.312 kB / 1.118 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003841/1.153, allocations: 56.59 kB / 1.118 GB, free: 18.43 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.0003439/1.154, allocations: 160.7 kB / 1.118 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004767/1.154, allocations: 178 kB / 1.118 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.154, allocations: 1.625 kB / 1.118 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/1.154, allocations: 97.33 kB / 1.118 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/1.155, allocations: 120.9 kB / 1.119 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/1.156, allocations: 481.4 kB / 1.119 GB, free: 18.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/1.156, allocations: 0.7499 MB / 1.12 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/1.156, allocations: 24.41 kB / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.156, allocations: 1.203 kB / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.00694/1.163, allocations: 3.702 MB / 1.123 GB, free: 17.01 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time