Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008237/0.008237, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001629/0.001629, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 71.83 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3279, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.956/1.284, allocations: 161.8 MB / 1.379 GB, free: 6.883 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002213/1.286, allocations: 0.9594 MB / 1.38 GB, free: 6.215 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/1.286, allocations: 10.38 kB / 1.38 GB, free: 6.211 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006181/1.287, allocations: 167.9 kB / 1.38 GB, free: 6.109 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/1.289, allocations: 0.6644 MB / 1.38 GB, free: 5.762 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/1.289, allocations: 212.7 kB / 1.381 GB, free: 5.664 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007221/1.29, allocations: 0.5197 MB / 1.381 GB, free: 5.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/1.29, allocations: 158.6 kB / 1.381 GB, free: 5.352 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/1.291, allocations: 240.8 kB / 1.381 GB, free: 5.215 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/1.291, allocations: 157.2 kB / 1.382 GB, free: 5.125 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/1.291, allocations: 18.2 kB / 1.382 GB, free: 5.121 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/1.292, allocations: 0.5414 MB / 1.382 GB, free: 4.816 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/1.292, allocations: 87.52 kB / 1.382 GB, free: 4.758 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/1.292, allocations: 115.4 kB / 1.382 GB, free: 4.688 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008122/1.293, allocations: 491.2 kB / 1.383 GB, free: 4.402 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.293, allocations: 1.219 kB / 1.383 GB, free: 4.402 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.482e-06/1.293, allocations: 0 / 1.383 GB, free: 4.402 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.293, allocations: 0 / 1.383 GB, free: 4.402 MB / 1.076 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.00149/1.295, allocations: 0.6117 MB / 1.383 GB, free: 3.848 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.295, allocations: 10.38 kB / 1.383 GB, free: 3.848 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/1.295, allocations: 52.66 kB / 1.383 GB, free: 3.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/1.295, allocations: 291.2 kB / 1.384 GB, free: 3.539 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.295, allocations: 15.86 kB / 1.384 GB, free: 3.531 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/1.295, allocations: 15.62 kB / 1.384 GB, free: 3.527 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/1.296, allocations: 240 kB / 1.384 GB, free: 3.383 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.296, allocations: 0 / 1.384 GB, free: 3.383 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/1.296, allocations: 5.531 kB / 1.384 GB, free: 3.379 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/1.296, allocations: 8.781 kB / 1.384 GB, free: 3.379 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/1.297, allocations: 263.3 kB / 1.384 GB, free: 3.246 MB / 1.076 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.001286/1.298, allocations: 0.8322 MB / 1.385 GB, free: 2.539 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/1.298, allocations: 139.8 kB / 1.385 GB, free: 2.457 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/1.298, allocations: 105.8 kB / 1.385 GB, free: 2.402 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/1.299, allocations: 191.9 kB / 1.385 GB, free: 2.199 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/1.299, allocations: 31.97 kB / 1.385 GB, free: 2.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/1.299, allocations: 4 kB / 1.385 GB, free: 2.156 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0008417/1.299, allocations: 305.7 kB / 1.386 GB, free: 1.996 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/1.3, allocations: 53.94 kB / 1.386 GB, free: 1.934 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/1.3, allocations: 240.3 kB / 1.386 GB, free: 1.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.3, allocations: 29.7 kB / 1.386 GB, free: 1.734 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/1.3, allocations: 139.3 kB / 1.386 GB, free: 1.605 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/1.3, allocations: 54.19 kB / 1.386 GB, free: 1.559 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/1.3, allocations: 37.88 kB / 1.386 GB, free: 1.527 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.3, allocations: 332 kB / 1.387 GB, free: 1.199 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/1.3, allocations: 70.34 kB / 1.387 GB, free: 1.164 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/1.3, allocations: 106.8 kB / 1.387 GB, free: 1.098 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/1.301, allocations: 166.7 kB / 1.387 GB, free: 1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.301, allocations: 3.938 kB / 1.387 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004458/1.301, allocations: 209.8 kB / 1.387 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.301, allocations: 15.39 kB / 1.387 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.301, allocations: 4.875 kB / 1.387 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.301, allocations: 2.125 kB / 1.387 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/1.302, allocations: 30.64 kB / 1.387 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.302, allocations: 1.219 kB / 1.387 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/1.302, allocations: 28.08 kB / 1.387 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/1.302, allocations: 5.344 kB / 1.387 GB, free: 0.8398 MB / 1.076 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.0001462/1.302, allocations: 145 kB / 1.387 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/1.302, allocations: 30.67 kB / 1.387 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/1.302, allocations: 31.92 kB / 1.387 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.302, allocations: 1.25 kB / 1.387 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.302, allocations: 1.062 kB / 1.387 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.302, allocations: 0 / 1.387 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/1.303, allocations: 0.6767 MB / 1.388 GB, free: 88 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.303, allocations: 2.344 kB / 1.388 GB, free: 88 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/1.303, allocations: 30.17 kB / 1.388 GB, free: 84 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.303, allocations: 6.094 kB / 1.388 GB, free: 80 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/1.303, allocations: 11.95 kB / 1.388 GB, free: 72 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.303, allocations: 6.594 kB / 1.388 GB, free: 68 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.303, allocations: 1.469 kB / 1.388 GB, free: 68 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/1.304, allocations: 351.9 kB / 1.388 GB, free: 15.78 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.304, allocations: 113.7 kB / 1.389 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/1.304, allocations: 7.141 kB / 1.389 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.304, allocations: 10.34 kB / 1.389 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/1.304, allocations: 14.11 kB / 1.389 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/1.304, allocations: 12.25 kB / 1.389 GB, free: 15.64 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001685/1.304, allocations: 177 kB / 1.389 GB, free: 15.52 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.304, allocations: 0 / 1.389 GB, free: 15.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003735/1.305, allocations: 64.95 kB / 1.389 GB, free: 15.5 MB / 1.092 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.0003893/1.305, allocations: 170.4 kB / 1.389 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004683/1.306, allocations: 173.7 kB / 1.389 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.306, allocations: 0 / 1.389 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/1.306, allocations: 92.28 kB / 1.389 GB, free: 15.24 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/1.306, allocations: 127.4 kB / 1.389 GB, free: 15.19 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/1.307, allocations: 449.5 kB / 1.39 GB, free: 14.84 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/1.308, allocations: 0.7529 MB / 1.391 GB, free: 14.11 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001908/1.308, allocations: 64.45 kB / 1.391 GB, free: 14.09 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/1.308, allocations: 19.69 kB / 1.391 GB, free: 14.08 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.308, allocations: 1.219 kB / 1.391 GB, free: 14.08 MB / 1.092 GB Notification: Performance of Templates: time 0.009304/1.317, allocations: 4.467 MB / 1.395 GB, free: 11.86 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches