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.009009/0.009009, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001552/0.001552, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.566/1.566, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.228/1.262, allocations: 161.3 MB / 1.245 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003176/1.265, allocations: 0.9713 MB / 1.246 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007102/1.266, allocations: 9.562 kB / 1.246 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009387/1.267, allocations: 157.2 kB / 1.247 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002556/1.269, allocations: 0.6689 MB / 1.247 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009054/1.27, allocations: 223 kB / 1.247 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001005/1.271, allocations: 0.5097 MB / 1.248 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/1.272, allocations: 187.4 kB / 1.248 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/1.272, allocations: 239.1 kB / 1.248 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/1.273, allocations: 159.4 kB / 1.248 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/1.273, allocations: 16 kB / 1.249 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/1.274, allocations: 0.5416 MB / 1.249 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/1.274, allocations: 87.7 kB / 1.249 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/1.274, allocations: 111.4 kB / 1.249 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009891/1.275, allocations: 488.6 kB / 1.25 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.275, allocations: 0 / 1.25 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.547e-06/1.275, allocations: 0 / 1.25 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.275, allocations: 3.938 kB / 1.25 GB, free: 8.086 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.001517/1.277, allocations: 0.6 MB / 1.25 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.277, allocations: 12.03 kB / 1.25 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/1.277, allocations: 55.58 kB / 1.25 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/1.278, allocations: 282.4 kB / 1.251 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.278, allocations: 12.33 kB / 1.251 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/1.278, allocations: 20 kB / 1.251 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/1.278, allocations: 235.1 kB / 1.251 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.278, allocations: 0 / 1.251 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/1.278, allocations: 8 kB / 1.251 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/1.278, allocations: 11.98 kB / 1.251 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/1.279, allocations: 251.8 kB / 1.251 GB, free: 6.523 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.001295/1.28, allocations: 0.8391 MB / 1.252 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/1.28, allocations: 138.5 kB / 1.252 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/1.281, allocations: 116.8 kB / 1.252 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/1.281, allocations: 194.2 kB / 1.252 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/1.281, allocations: 30.56 kB / 1.252 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.624e-06/1.281, allocations: 0 / 1.252 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008311/1.282, allocations: 309.1 kB / 1.253 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/1.282, allocations: 55.41 kB / 1.253 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/1.282, allocations: 241 kB / 1.253 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/1.282, allocations: 29.7 kB / 1.253 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/1.282, allocations: 132.3 kB / 1.253 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/1.282, allocations: 55.19 kB / 1.253 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/1.282, allocations: 37.7 kB / 1.253 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.283, allocations: 326.8 kB / 1.254 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/1.283, allocations: 71.94 kB / 1.254 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/1.283, allocations: 102.5 kB / 1.254 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/1.283, allocations: 170.4 kB / 1.254 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.283, allocations: 0 / 1.254 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004451/1.284, allocations: 213.3 kB / 1.254 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.284, allocations: 10.44 kB / 1.254 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.284, allocations: 0 / 1.254 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.284, allocations: 4.062 kB / 1.254 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.284, allocations: 31.92 kB / 1.254 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.284, allocations: 7.984 kB / 1.254 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/1.284, allocations: 19.84 kB / 1.254 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/1.284, allocations: 7.984 kB / 1.254 GB, free: 3.223 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.0001347/1.284, allocations: 141.8 kB / 1.254 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/1.284, allocations: 23.66 kB / 1.254 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.824e-05/1.285, allocations: 33.83 kB / 1.254 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.285, allocations: 4 kB / 1.254 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.285, allocations: 4 kB / 1.254 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.285, allocations: 0 / 1.254 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.286, allocations: 0.6755 MB / 1.255 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.286, allocations: 7.938 kB / 1.255 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/1.286, allocations: 35.97 kB / 1.255 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.286, allocations: 4 kB / 1.255 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/1.286, allocations: 4 kB / 1.255 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.286, allocations: 0 / 1.255 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.286, allocations: 7.938 kB / 1.255 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/1.286, allocations: 349.2 kB / 1.255 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.286, allocations: 120.8 kB / 1.256 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/1.286, allocations: 8 kB / 1.256 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.287, allocations: 7.984 kB / 1.256 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/1.287, allocations: 27.8 kB / 1.256 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/1.287, allocations: 4 kB / 1.256 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001565/1.287, allocations: 176.5 kB / 1.256 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.61e-07/1.287, allocations: 4 kB / 1.256 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003712/1.287, allocations: 63.92 kB / 1.256 GB, free: 1.398 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.0003951/1.288, allocations: 155.4 kB / 1.256 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004722/1.288, allocations: 171.8 kB / 1.256 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.288, allocations: 0 / 1.256 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/1.288, allocations: 95.94 kB / 1.256 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/1.289, allocations: 121.4 kB / 1.256 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/1.29, allocations: 448.4 kB / 1.257 GB, free: 388 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/1.29, allocations: 0.7558 MB / 1.257 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002126/1.291, allocations: 61.91 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/1.291, allocations: 23.42 kB / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.291, allocations: 0 / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.01002/1.301, allocations: 4.441 MB / 1.262 GB, free: 11.14 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/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