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.001676/0.001675, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001892/0.001892, allocations: 189 kB / 17.3 MB, free: 5.613 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.446/1.446, 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.2-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 65.23 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3076, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.929/1.237, allocations: 161.3 MB / 1.109 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002134/1.239, allocations: 0.9613 MB / 1.11 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/1.239, allocations: 9.594 kB / 1.11 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006669/1.24, allocations: 159.2 kB / 1.11 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/1.242, allocations: 0.6398 MB / 1.11 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/1.243, allocations: 224.6 kB / 1.111 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008841/1.244, allocations: 0.5177 MB / 1.111 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004339/1.244, allocations: 171.2 kB / 1.111 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/1.245, allocations: 233.2 kB / 1.111 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/1.245, allocations: 161.7 kB / 1.112 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/1.245, allocations: 17.88 kB / 1.112 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/1.246, allocations: 0.5396 MB / 1.112 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/1.246, allocations: 88.81 kB / 1.112 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/1.247, allocations: 111.1 kB / 1.112 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/1.248, allocations: 490.9 kB / 1.113 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.248, allocations: 1.312 kB / 1.113 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/1.248, allocations: 0 / 1.113 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.342e-05/1.248, allocations: 0 / 1.113 GB, free: 5.711 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.001672/1.249, allocations: 0.5991 MB / 1.113 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.249, allocations: 9.438 kB / 1.113 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002811/1.25, allocations: 46.38 kB / 1.113 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/1.25, allocations: 293.8 kB / 1.114 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/1.25, allocations: 12.3 kB / 1.114 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/1.25, allocations: 14.59 kB / 1.114 GB, free: 21.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/1.251, allocations: 240.2 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.251, allocations: 4 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/1.251, allocations: 5.844 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/1.251, allocations: 10.75 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/1.251, allocations: 248.5 kB / 1.114 GB, free: 21 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.001359/1.253, allocations: 0.8454 MB / 1.115 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/1.253, allocations: 143 kB / 1.115 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/1.253, allocations: 112.7 kB / 1.115 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/1.254, allocations: 192 kB / 1.116 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.254, allocations: 33.94 kB / 1.116 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/1.254, allocations: 0 / 1.116 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0008349/1.255, allocations: 302.1 kB / 1.116 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.255, allocations: 56.98 kB / 1.116 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/1.255, allocations: 240.6 kB / 1.116 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/1.255, allocations: 31.5 kB / 1.116 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/1.255, allocations: 134.7 kB / 1.116 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/1.255, allocations: 48.45 kB / 1.116 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/1.255, allocations: 36.14 kB / 1.116 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.255, allocations: 330.8 kB / 1.117 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/1.255, allocations: 70.19 kB / 1.117 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/1.256, allocations: 103.7 kB / 1.117 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/1.256, allocations: 169 kB / 1.117 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.256, allocations: 0 / 1.117 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004551/1.256, allocations: 218.8 kB / 1.117 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.256, allocations: 13.02 kB / 1.117 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.256, allocations: 3.938 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.256, allocations: 2 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/1.257, allocations: 32.8 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.257, allocations: 2.078 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/1.257, allocations: 22.88 kB / 1.117 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/1.257, allocations: 9.953 kB / 1.117 GB, free: 19.47 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.0001289/1.257, allocations: 145.2 kB / 1.117 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/1.257, allocations: 21.75 kB / 1.117 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/1.257, allocations: 33.25 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.257, allocations: 3.375 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.257, allocations: 0.7031 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.257, allocations: 0.6562 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.258, allocations: 0.6825 MB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.258, allocations: 2.25 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/1.258, allocations: 32.14 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.258, allocations: 3.156 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/1.259, allocations: 7.484 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/1.259, allocations: 5.891 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.259, allocations: 1.969 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/1.259, allocations: 354.6 kB / 1.119 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/1.259, allocations: 115.7 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/1.259, allocations: 7.859 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/1.259, allocations: 11 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/1.259, allocations: 17.41 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/1.259, allocations: 9.234 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001553/1.26, allocations: 176 kB / 1.119 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.26, allocations: 1.219 kB / 1.119 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003844/1.26, allocations: 59.8 kB / 1.119 GB, free: 18.57 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.0004176/1.26, allocations: 162.6 kB / 1.119 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000465/1.261, allocations: 169.7 kB / 1.119 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.261, allocations: 3.938 kB / 1.119 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/1.261, allocations: 96.7 kB / 1.119 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007313/1.262, allocations: 129.3 kB / 1.119 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/1.263, allocations: 447.6 kB / 1.12 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.263, allocations: 0.7492 MB / 1.121 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002102/1.263, allocations: 64.5 kB / 1.121 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/1.263, allocations: 23.53 kB / 1.121 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.263, allocations: 0 / 1.121 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.00931/1.273, allocations: 4.43 MB / 1.125 GB, free: 17.21 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 -s cvode -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) Reference file matches