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.005411/0.005411, allocations: 101.2 kB / 15.88 MB, free: 6.328 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.001202/0.001202, allocations: 195.6 kB / 16.79 MB, free: 6.254 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.413/2.413, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7719, allocations: 140.4 MB / 0.9496 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1959/0.9678, allocations: 159.1 MB / 1.105 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.9701, allocations: 0.9646 MB / 1.106 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.9704, allocations: 7.938 kB / 1.106 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.971, allocations: 139.2 kB / 1.106 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.9728, allocations: 0.5876 MB / 1.107 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.9735, allocations: 206.9 kB / 1.107 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000838/0.9743, allocations: 0.7371 MB / 1.107 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003359/0.9747, allocations: 160.1 kB / 1.108 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.9751, allocations: 223 kB / 1.108 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.9753, allocations: 171.2 kB / 1.108 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.9754, allocations: 12 kB / 1.108 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.9766, allocations: 0.6351 MB / 1.109 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.9767, allocations: 87.7 kB / 1.109 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.9769, allocations: 107.4 kB / 1.109 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.9774, allocations: 335.3 kB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9774, allocations: 4 kB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.31e-07/0.9774, allocations: 0 / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.9774, 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.001566/0.979, allocations: 0.6 MB / 1.11 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.979, allocations: 8.031 kB / 1.11 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.9793, allocations: 51.67 kB / 1.11 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.9798, allocations: 278.3 kB / 1.11 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.9798, allocations: 12.33 kB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.9799, allocations: 16 kB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.9804, allocations: 246.8 kB / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9804, allocations: 0 / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.9804, allocations: 8 kB / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.9805, allocations: 16 kB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.9812, allocations: 251.8 kB / 1.111 GB, free: 12.55 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.001563/0.9827, allocations: 0.8314 MB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.9831, allocations: 149.9 kB / 1.112 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.9833, allocations: 108.9 kB / 1.112 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.9836, allocations: 190.2 kB / 1.112 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.9836, allocations: 34.56 kB / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.9837, allocations: 0 / 1.112 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0009164/0.9846, allocations: 297.2 kB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.9847, allocations: 59.41 kB / 1.112 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.9849, allocations: 241 kB / 1.112 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.985, allocations: 29.7 kB / 1.112 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/0.9851, allocations: 136.2 kB / 1.113 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.9851, allocations: 51.3 kB / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.9852, allocations: 33.7 kB / 1.113 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9854, allocations: 334.8 kB / 1.113 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.9856, allocations: 67.94 kB / 1.113 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.9858, allocations: 108.3 kB / 1.113 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.9863, allocations: 166.5 kB / 1.113 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9863, allocations: 11.88 kB / 1.113 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004592/0.9868, allocations: 213.2 kB / 1.114 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.9868, allocations: 7.938 kB / 1.114 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9868, allocations: 4 kB / 1.114 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.9868, allocations: 4.031 kB / 1.114 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.987, allocations: 31.97 kB / 1.114 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.987, allocations: 0 / 1.114 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.9872, allocations: 23.89 kB / 1.114 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.9873, allocations: 12 kB / 1.114 GB, free: 9.254 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.00014/0.9874, allocations: 141.8 kB / 1.114 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.9875, allocations: 27.66 kB / 1.114 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.417e-05/0.9876, allocations: 29.84 kB / 1.114 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9876, allocations: 3.984 kB / 1.114 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9876, allocations: 0 / 1.114 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9876, allocations: 4 kB / 1.114 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.9888, allocations: 0.6758 MB / 1.114 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9888, allocations: 0 / 1.114 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.989, allocations: 31.92 kB / 1.115 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.989, allocations: 4 kB / 1.115 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.989, allocations: 3.984 kB / 1.115 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.989, allocations: 4 kB / 1.115 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.989, allocations: 4 kB / 1.115 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006394/0.9897, allocations: 358 kB / 1.115 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.9898, allocations: 116.8 kB / 1.115 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.9899, allocations: 7.984 kB / 1.115 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.99, allocations: 12 kB / 1.115 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.9901, allocations: 19.92 kB / 1.115 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.9901, allocations: 4 kB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001812/0.9903, allocations: 180.5 kB / 1.115 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.643e-06/0.9903, allocations: 3.938 kB / 1.115 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003689/0.9907, allocations: 67.88 kB / 1.115 GB, free: 7.434 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.0004001/0.9911, allocations: 149.5 kB / 1.115 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.9915, allocations: 167.8 kB / 1.116 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9916, allocations: 0 / 1.116 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.9918, allocations: 100.4 kB / 1.116 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.0007454/0.9926, allocations: 121.8 kB / 1.116 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.9935, allocations: 0.528 MB / 1.116 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.9939, allocations: 0.7599 MB / 1.117 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.994, allocations: 19.44 kB / 1.117 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.994, allocations: 0 / 1.117 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.006698/1.001, allocations: 3.677 MB / 1.121 GB, free: 1.879 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