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.001693/0.001693, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001803/0.001803, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.591/2.591, allocations: 469.8 MB / 0.7427 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 70.72 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3079, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6773/0.9852, allocations: 159.1 MB / 1.22 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.9872, allocations: 0.9575 MB / 1.22 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.9874, allocations: 8.062 kB / 1.22 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.988, allocations: 132 kB / 1.221 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.9895, allocations: 0.5977 MB / 1.221 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.9901, allocations: 200.8 kB / 1.221 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006459/0.9907, allocations: 0.5245 MB / 1.222 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.9911, allocations: 178.5 kB / 1.222 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.9915, allocations: 240.6 kB / 1.222 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.9918, allocations: 176.6 kB / 1.222 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.9918, allocations: 13.56 kB / 1.222 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.9927, allocations: 0.559 MB / 1.223 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.9928, allocations: 84.39 kB / 1.223 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.9929, allocations: 118.4 kB / 1.223 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.9934, allocations: 349.9 kB / 1.224 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9935, allocations: 0 / 1.224 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9935, allocations: 0 / 1.224 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9935, allocations: 0 / 1.224 GB, free: 3.965 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.001397/0.9949, allocations: 0.5947 MB / 1.224 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.9949, allocations: 8 kB / 1.224 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.9952, allocations: 49.5 kB / 1.224 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.9955, allocations: 278 kB / 1.224 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.9955, allocations: 13.23 kB / 1.224 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.9956, allocations: 16.34 kB / 1.224 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.9961, allocations: 241.3 kB / 1.225 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.9961, allocations: 3.938 kB / 1.225 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.9961, allocations: 4 kB / 1.225 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.9962, allocations: 18.17 kB / 1.225 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.9967, allocations: 247.8 kB / 1.225 GB, free: 2.844 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.001226/0.998, allocations: 0.8371 MB / 1.226 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.9983, allocations: 142 kB / 1.226 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.9985, allocations: 122.3 kB / 1.226 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.9988, allocations: 195.5 kB / 1.226 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.9988, allocations: 30.56 kB / 1.226 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.644e-06/0.9988, allocations: 0 / 1.226 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007968/0.9996, allocations: 307.4 kB / 1.227 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.9997, allocations: 51.41 kB / 1.227 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.9999, allocations: 241.7 kB / 1.227 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1, allocations: 29.7 kB / 1.227 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/1, allocations: 130.6 kB / 1.227 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/1, allocations: 48.83 kB / 1.227 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/1, allocations: 38.7 kB / 1.227 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000138/1, allocations: 332.1 kB / 1.227 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/1.001, allocations: 72.88 kB / 1.227 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/1.001, allocations: 105.1 kB / 1.228 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/1.001, allocations: 170.5 kB / 1.228 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.001, allocations: 0 / 1.228 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004217/1.002, allocations: 214.9 kB / 1.228 GB, free: 484 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.002, allocations: 4.625 kB / 1.228 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.002, allocations: 4.875 kB / 1.228 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.002, allocations: 1.594 kB / 1.228 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.002, allocations: 34.52 kB / 1.228 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.002, allocations: 2.688 kB / 1.228 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/1.002, allocations: 28.5 kB / 1.228 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/1.002, allocations: 7.312 kB / 1.228 GB, free: 448 kB / 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.0001346/1.002, allocations: 139.9 kB / 1.228 GB, free: 312 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/1.002, allocations: 21.84 kB / 1.228 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/1.002, allocations: 40.42 kB / 1.228 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.002, allocations: 5.438 kB / 1.228 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.002, allocations: 0 / 1.228 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.002, allocations: 0 / 1.228 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/1.003, allocations: 0.6785 MB / 1.229 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.003, allocations: 3.375 kB / 1.229 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/1.003, allocations: 29.62 kB / 1.229 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.003, allocations: 3.375 kB / 1.229 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/1.004, allocations: 10.78 kB / 1.229 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.004, allocations: 2.875 kB / 1.229 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.004, allocations: 4.656 kB / 1.229 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/1.004, allocations: 358.5 kB / 1.229 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/1.004, allocations: 118.4 kB / 1.229 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/1.004, allocations: 2.375 kB / 1.229 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.004, allocations: 15.17 kB / 1.229 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/1.004, allocations: 12.95 kB / 1.229 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/1.004, allocations: 9.656 kB / 1.229 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001528/1.005, allocations: 180.3 kB / 1.23 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.005, allocations: 0 / 1.23 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003381/1.005, allocations: 65.31 kB / 1.23 GB, free: 15.09 MB / 0.9512 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.0003665/1.005, allocations: 165.5 kB / 1.23 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004486/1.006, allocations: 178.1 kB / 1.23 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.006, allocations: 1.812 kB / 1.23 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/1.006, allocations: 93.38 kB / 1.23 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/1.007, allocations: 124 kB / 1.23 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007835/1.007, allocations: 0.5294 MB / 1.231 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/1.008, allocations: 0.7519 MB / 1.231 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/1.008, allocations: 27.36 kB / 1.231 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/1.008, allocations: 0 / 1.231 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.005986/1.014, allocations: 3.691 MB / 1.235 GB, free: 9.668 MB / 0.9512 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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