Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008695/0.008695, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.001944/0.001944, allocations: 196.2 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 71.84 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9414/0.9427, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1943/1.137, allocations: 161.3 MB / 1.365 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002176/1.139, allocations: 0.9606 MB / 1.366 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/1.139, allocations: 7.938 kB / 1.366 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000614/1.14, allocations: 159 kB / 1.366 GB, free: 10.55 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/1.142, allocations: 0.6379 MB / 1.367 GB, free: 9.91 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/1.142, allocations: 227 kB / 1.367 GB, free: 9.691 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0006061/1.143, allocations: 0.5149 MB / 1.368 GB, free: 9.176 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/1.143, allocations: 176.2 kB / 1.368 GB, free: 9.004 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/1.144, allocations: 243 kB / 1.368 GB, free: 8.766 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/1.144, allocations: 155.3 kB / 1.368 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/1.144, allocations: 16 kB / 1.368 GB, free: 8.598 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007848/1.145, allocations: 0.5339 MB / 1.369 GB, free: 8.062 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-05/1.145, allocations: 87.72 kB / 1.369 GB, free: 7.977 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/1.145, allocations: 119.4 kB / 1.369 GB, free: 7.859 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006465/1.146, allocations: 484.6 kB / 1.369 GB, free: 7.387 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.146, allocations: 3.938 kB / 1.369 GB, free: 7.383 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/1.146, allocations: 0 / 1.369 GB, free: 7.383 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.146, allocations: 0 / 1.369 GB, free: 7.383 MB / 1.092 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.001365/1.147, allocations: 0.5999 MB / 1.37 GB, free: 6.734 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/1.147, allocations: 19.91 kB / 1.37 GB, free: 6.715 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/1.147, allocations: 51.67 kB / 1.37 GB, free: 6.664 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/1.148, allocations: 282.4 kB / 1.37 GB, free: 6.348 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/1.148, allocations: 12.33 kB / 1.37 GB, free: 6.336 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/1.148, allocations: 20 kB / 1.37 GB, free: 6.316 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/1.148, allocations: 238.9 kB / 1.371 GB, free: 6.078 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.148, allocations: 4 kB / 1.371 GB, free: 6.074 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.148, allocations: 4 kB / 1.371 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/1.149, allocations: 11.98 kB / 1.371 GB, free: 6.059 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/1.149, allocations: 255.5 kB / 1.371 GB, free: 5.809 MB / 1.092 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.001397/1.151, allocations: 0.8355 MB / 1.372 GB, free: 4.898 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/1.151, allocations: 134.5 kB / 1.372 GB, free: 4.758 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/1.151, allocations: 112.9 kB / 1.372 GB, free: 4.645 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/1.151, allocations: 186.2 kB / 1.372 GB, free: 4.426 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.151, allocations: 38.56 kB / 1.372 GB, free: 4.379 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 3.637e-06/1.151, allocations: 3.984 kB / 1.372 GB, free: 4.375 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.0008584/1.152, allocations: 309.1 kB / 1.372 GB, free: 4.066 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.152, allocations: 51.41 kB / 1.373 GB, free: 4.004 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/1.153, allocations: 241 kB / 1.373 GB, free: 3.754 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/1.153, allocations: 29.7 kB / 1.373 GB, free: 3.719 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/1.153, allocations: 136.2 kB / 1.373 GB, free: 3.582 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/1.153, allocations: 51.3 kB / 1.373 GB, free: 3.531 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/1.153, allocations: 33.7 kB / 1.373 GB, free: 3.492 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.153, allocations: 326.8 kB / 1.373 GB, free: 3.164 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/1.153, allocations: 75.94 kB / 1.373 GB, free: 3.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.153, allocations: 98.5 kB / 1.373 GB, free: 2.984 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/1.154, allocations: 169.9 kB / 1.374 GB, free: 2.812 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.154, allocations: 8 kB / 1.374 GB, free: 2.805 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004447/1.154, allocations: 221.2 kB / 1.374 GB, free: 2.582 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.154, allocations: 7.938 kB / 1.374 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.154, allocations: 0 / 1.374 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.154, allocations: 4 kB / 1.374 GB, free: 2.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/1.155, allocations: 27.92 kB / 1.374 GB, free: 2.543 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.155, allocations: 7.984 kB / 1.374 GB, free: 2.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/1.155, allocations: 23.91 kB / 1.374 GB, free: 2.512 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/1.155, allocations: 7.984 kB / 1.374 GB, free: 2.504 MB / 1.092 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.0001397/1.155, allocations: 137.8 kB / 1.374 GB, free: 2.359 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/1.155, allocations: 19.75 kB / 1.374 GB, free: 2.34 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/1.155, allocations: 37.77 kB / 1.374 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.155, allocations: 0 / 1.374 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.155, allocations: 0 / 1.374 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.155, allocations: 4 kB / 1.374 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/1.156, allocations: 0.6874 MB / 1.375 GB, free: 1.539 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.156, allocations: 8.031 kB / 1.375 GB, free: 1.531 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/1.156, allocations: 27.97 kB / 1.375 GB, free: 1.504 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/1.156, allocations: 4 kB / 1.375 GB, free: 1.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/1.156, allocations: 8 kB / 1.375 GB, free: 1.492 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.156, allocations: 3.938 kB / 1.375 GB, free: 1.488 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.156, allocations: 4 kB / 1.375 GB, free: 1.484 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/1.157, allocations: 349 kB / 1.375 GB, free: 1.105 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.157, allocations: 116.9 kB / 1.375 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/1.157, allocations: 8 kB / 1.375 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/1.157, allocations: 11.98 kB / 1.375 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/1.157, allocations: 11.92 kB / 1.375 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/1.157, allocations: 8 kB / 1.375 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000173/1.158, allocations: 176.5 kB / 1.375 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.158, allocations: 0 / 1.375 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003561/1.158, allocations: 67.83 kB / 1.376 GB, free: 0.6953 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.0003665/1.158, allocations: 159 kB / 1.376 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004586/1.159, allocations: 171.8 kB / 1.376 GB, free: 376 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.159, allocations: 4 kB / 1.376 GB, free: 372 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/1.159, allocations: 96.38 kB / 1.376 GB, free: 276 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/1.16, allocations: 122 kB / 1.376 GB, free: 156 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/1.16, allocations: 450.1 kB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/1.161, allocations: 0.748 MB / 1.377 GB, free: 14.89 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000194/1.161, allocations: 65.91 kB / 1.377 GB, free: 14.83 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/1.161, allocations: 23.42 kB / 1.377 GB, free: 14.81 MB / 1.107 GB Notification: Performance of SimCode: time 5.51e-07/1.161, allocations: 0 / 1.377 GB, free: 14.81 MB / 1.107 GB Notification: Performance of Templates: time 0.00858/1.17, allocations: 4.446 MB / 1.382 GB, free: 10.43 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches