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.001264/0.001264, allocations: 110.6 kB / 16.41 MB, free: 6.477 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.001288/0.001288, allocations: 183 kB / 17.34 MB, free: 5.754 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.14 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.357/2.357, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9143/0.9159, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2025/1.118, allocations: 161.3 MB / 1.246 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002116/1.121, allocations: 0.9701 MB / 1.247 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/1.121, allocations: 10.12 kB / 1.247 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005854/1.122, allocations: 163.2 kB / 1.247 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/1.123, allocations: 0.6324 MB / 1.248 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/1.124, allocations: 230.2 kB / 1.248 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007952/1.125, allocations: 0.5114 MB / 1.249 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/1.125, allocations: 185.8 kB / 1.249 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/1.126, allocations: 235.1 kB / 1.249 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/1.126, allocations: 155.4 kB / 1.249 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/1.126, allocations: 12 kB / 1.249 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009106/1.127, allocations: 0.5455 MB / 1.25 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/1.127, allocations: 79.78 kB / 1.25 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/1.127, allocations: 115.4 kB / 1.25 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007903/1.128, allocations: 492.6 kB / 1.25 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.128, allocations: 0 / 1.25 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/1.128, allocations: 0 / 1.25 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.939e-06/1.128, allocations: 0 / 1.25 GB, free: 8.141 MB / 0.9825 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.001403/1.129, allocations: 0.6038 MB / 1.251 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/1.129, allocations: 12.02 kB / 1.251 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/1.13, allocations: 51.59 kB / 1.251 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/1.13, allocations: 282.4 kB / 1.251 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/1.13, allocations: 12.33 kB / 1.251 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/1.13, allocations: 20 kB / 1.251 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/1.131, allocations: 239.1 kB / 1.252 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.131, allocations: 0 / 1.252 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.131, allocations: 8 kB / 1.252 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/1.131, allocations: 11.94 kB / 1.252 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/1.131, allocations: 255.8 kB / 1.252 GB, free: 6.57 MB / 0.9825 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.001236/1.132, allocations: 0.8352 MB / 1.253 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/1.133, allocations: 138.5 kB / 1.253 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/1.133, allocations: 116.9 kB / 1.253 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/1.133, allocations: 186.2 kB / 1.253 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.133, allocations: 34.56 kB / 1.253 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/1.133, allocations: 4 kB / 1.253 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008219/1.134, allocations: 308.1 kB / 1.253 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/1.134, allocations: 55.41 kB / 1.253 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/1.134, allocations: 241 kB / 1.254 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.134, allocations: 29.7 kB / 1.254 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/1.135, allocations: 132.3 kB / 1.254 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/1.135, allocations: 55.2 kB / 1.254 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/1.135, allocations: 33.7 kB / 1.254 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.135, allocations: 330.8 kB / 1.254 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/1.135, allocations: 67.94 kB / 1.254 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/1.135, allocations: 102.5 kB / 1.254 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/1.135, allocations: 170.4 kB / 1.255 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.135, allocations: 0 / 1.255 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004487/1.136, allocations: 213.3 kB / 1.255 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.136, allocations: 12 kB / 1.255 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.136, allocations: 4.047 kB / 1.255 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.136, allocations: 3.984 kB / 1.255 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/1.136, allocations: 27.98 kB / 1.255 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.136, allocations: 3.938 kB / 1.255 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/1.136, allocations: 23.83 kB / 1.255 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/1.136, allocations: 11.97 kB / 1.255 GB, free: 3.273 MB / 0.9825 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.0001231/1.137, allocations: 137.8 kB / 1.255 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/1.137, allocations: 31.66 kB / 1.255 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/1.137, allocations: 29.83 kB / 1.255 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/1.137, allocations: 4 kB / 1.255 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.137, allocations: 0 / 1.255 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/1.137, allocations: 0 / 1.255 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/1.138, allocations: 0.6794 MB / 1.256 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.138, allocations: 4 kB / 1.256 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/1.138, allocations: 39.91 kB / 1.256 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.138, allocations: 0 / 1.256 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.138, allocations: 11.94 kB / 1.256 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/1.138, allocations: 8.219 kB / 1.256 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.138, allocations: 3.938 kB / 1.256 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/1.138, allocations: 348.3 kB / 1.256 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/1.138, allocations: 116.8 kB / 1.256 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/1.138, allocations: 4 kB / 1.256 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/1.139, allocations: 8 kB / 1.256 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/1.139, allocations: 19.86 kB / 1.256 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/1.139, allocations: 11.98 kB / 1.256 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001475/1.139, allocations: 176.5 kB / 1.256 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.139, allocations: 0 / 1.256 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003298/1.139, allocations: 59.94 kB / 1.256 GB, free: 1.457 MB / 0.9825 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.0003/1.14, allocations: 153.9 kB / 1.257 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004374/1.14, allocations: 175.9 kB / 1.257 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.14, allocations: 0 / 1.257 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/1.14, allocations: 99.81 kB / 1.257 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006972/1.141, allocations: 122.5 kB / 1.257 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/1.142, allocations: 478.1 kB / 1.257 GB, free: 404 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.142, allocations: 0.7558 MB / 1.258 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/1.142, allocations: 31.36 kB / 1.258 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.142, allocations: 0 / 1.258 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of Templates: time 0.005524/1.148, allocations: 3.708 MB / 1.262 GB, free: 11.91 MB / 0.9981 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