Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.000996/0.0009962, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6538, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1692/0.8231, allocations: 157 MB / 1.177 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.825, allocations: 0.9548 MB / 1.178 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.8252, allocations: 7.938 kB / 1.178 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.8258, allocations: 139.2 kB / 1.178 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.8273, allocations: 0.6109 MB / 1.179 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.8279, allocations: 195.2 kB / 1.179 GB, free: 364 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008312/0.8288, allocations: 0.7332 MB / 1.18 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.8291, allocations: 160.1 kB / 1.18 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.8295, allocations: 203.1 kB / 1.18 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.8297, allocations: 175.3 kB / 1.18 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.8298, allocations: 8 kB / 1.18 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.8308, allocations: 0.6311 MB / 1.181 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.8309, allocations: 79.77 kB / 1.181 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.831, allocations: 133.1 kB / 1.181 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.8315, allocations: 339.2 kB / 1.181 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8315, allocations: 0 / 1.181 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8315, allocations: 3.938 kB / 1.181 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8315, allocations: 0 / 1.181 GB, free: 13.9 MB / 0.9356 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.0014/0.8329, allocations: 0.5611 MB / 1.182 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.833, allocations: 8.031 kB / 1.182 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.8332, allocations: 51.69 kB / 1.182 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.8336, allocations: 266.4 kB / 1.182 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.8336, allocations: 16.33 kB / 1.182 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.8337, allocations: 19.98 kB / 1.182 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.8342, allocations: 247.1 kB / 1.182 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8342, allocations: 0 / 1.182 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.8342, allocations: 4 kB / 1.182 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.8343, allocations: 11.98 kB / 1.182 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/0.8349, allocations: 267.5 kB / 1.183 GB, free: 12.37 MB / 0.9356 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.001269/0.8362, allocations: 0.8433 MB / 1.183 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.8365, allocations: 150.5 kB / 1.184 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.8367, allocations: 116.9 kB / 1.184 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.837, allocations: 190.2 kB / 1.184 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.837, allocations: 30.56 kB / 1.184 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.8371, allocations: 4 kB / 1.184 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0008467/0.8379, allocations: 325.1 kB / 1.184 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.8379, allocations: 51.41 kB / 1.184 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.8382, allocations: 241 kB / 1.185 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.8382, allocations: 29.7 kB / 1.185 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.8383, allocations: 136.2 kB / 1.185 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.8384, allocations: 47.3 kB / 1.185 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.8384, allocations: 17.72 kB / 1.185 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8385, allocations: 334.8 kB / 1.185 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.8387, allocations: 75.95 kB / 1.185 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.8389, allocations: 108.7 kB / 1.185 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.8393, allocations: 182.4 kB / 1.185 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8393, allocations: 0 / 1.185 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004672/0.8398, allocations: 230.6 kB / 1.186 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8398, allocations: 7.938 kB / 1.186 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.8398, allocations: 0 / 1.186 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8399, allocations: 0 / 1.186 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.8401, allocations: 39.91 kB / 1.186 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8401, allocations: 3.938 kB / 1.186 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.8403, allocations: 35.8 kB / 1.186 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.8403, allocations: 4 kB / 1.186 GB, free: 9.012 MB / 0.9356 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.0001297/0.8405, allocations: 137.8 kB / 1.186 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.8405, allocations: 27.73 kB / 1.186 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.8406, allocations: 25.84 kB / 1.186 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8406, allocations: 4 kB / 1.186 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.8406, allocations: 0 / 1.186 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8406, allocations: 7.984 kB / 1.186 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.8417, allocations: 0.6911 MB / 1.187 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.8417, allocations: 7.984 kB / 1.187 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.8418, allocations: 27.98 kB / 1.187 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.8419, allocations: 4 kB / 1.187 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.8419, allocations: 4 kB / 1.187 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.8419, allocations: 12.2 kB / 1.187 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8419, allocations: 7.938 kB / 1.187 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.8424, allocations: 361 kB / 1.187 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.8425, allocations: 112.9 kB / 1.187 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.8426, allocations: 4 kB / 1.187 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.8427, allocations: 19.98 kB / 1.187 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.8428, allocations: 11.92 kB / 1.187 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.8428, allocations: 8 kB / 1.187 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001623/0.843, allocations: 180.5 kB / 1.187 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.615e-06/0.843, allocations: 0 / 1.187 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003418/0.8433, allocations: 63.78 kB / 1.187 GB, free: 7.168 MB / 0.9356 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.0003669/0.8437, allocations: 150.8 kB / 1.188 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.8442, allocations: 185.1 kB / 1.188 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8442, allocations: 0 / 1.188 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.8444, allocations: 111.9 kB / 1.188 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.8453, allocations: 124.9 kB / 1.188 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.846, allocations: 0.5379 MB / 1.188 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.8464, allocations: 0.7521 MB / 1.189 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.8465, allocations: 23.44 kB / 1.189 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8465, allocations: 0 / 1.189 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.00583/0.8523, allocations: 3.664 MB / 1.193 GB, free: 1.586 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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