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.001191/0.001191, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001292/0.001292, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.643/1.643, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 59.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1794/1.198, allocations: 161.3 MB / 1.366 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.001942/1.2, allocations: 0.9615 MB / 1.367 GB, free: 10.72 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/1.2, allocations: 15.88 kB / 1.367 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005425/1.201, allocations: 159 kB / 1.367 GB, free: 10.55 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/1.202, allocations: 0.6301 MB / 1.368 GB, free: 9.918 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/1.203, allocations: 231.4 kB / 1.368 GB, free: 9.695 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/1.204, allocations: 0.5226 MB / 1.368 GB, free: 9.172 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/1.204, allocations: 172.2 kB / 1.369 GB, free: 9.004 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/1.204, allocations: 235.1 kB / 1.369 GB, free: 8.773 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/1.204, allocations: 163.3 kB / 1.369 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/1.205, allocations: 15.94 kB / 1.369 GB, free: 8.598 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007824/1.205, allocations: 0.5377 MB / 1.369 GB, free: 8.059 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/1.205, allocations: 79.78 kB / 1.37 GB, free: 7.98 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/1.206, allocations: 119.5 kB / 1.37 GB, free: 7.863 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006331/1.206, allocations: 488.5 kB / 1.37 GB, free: 7.387 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.206, allocations: 0 / 1.37 GB, free: 7.387 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.403e-06/1.206, allocations: 4 kB / 1.37 GB, free: 7.383 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.134e-06/1.206, allocations: 0 / 1.37 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.001385/1.208, allocations: 0.5999 MB / 1.371 GB, free: 6.734 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.208, allocations: 8.031 kB / 1.371 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/1.208, allocations: 47.69 kB / 1.371 GB, free: 6.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/1.208, allocations: 286.4 kB / 1.371 GB, free: 6.359 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.208, allocations: 16.27 kB / 1.371 GB, free: 6.344 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/1.208, allocations: 16 kB / 1.371 GB, free: 6.328 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/1.209, allocations: 242.9 kB / 1.371 GB, free: 6.086 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.209, allocations: 0 / 1.371 GB, free: 6.086 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/1.209, allocations: 15.98 kB / 1.371 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/1.209, allocations: 15.97 kB / 1.371 GB, free: 6.055 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/1.209, allocations: 251.6 kB / 1.372 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.001158/1.211, allocations: 0.8277 MB / 1.372 GB, free: 4.906 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/1.211, allocations: 142.4 kB / 1.373 GB, free: 4.758 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/1.211, allocations: 108.9 kB / 1.373 GB, free: 4.648 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/1.211, allocations: 198.2 kB / 1.373 GB, free: 4.418 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/1.211, allocations: 30.56 kB / 1.373 GB, free: 4.379 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/1.211, allocations: 0 / 1.373 GB, free: 4.379 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.0007757/1.212, allocations: 301.2 kB / 1.373 GB, free: 4.078 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.212, allocations: 59.41 kB / 1.373 GB, free: 4.008 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/1.212, allocations: 245 kB / 1.373 GB, free: 3.754 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/1.212, allocations: 25.7 kB / 1.373 GB, free: 3.723 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/1.213, allocations: 136.2 kB / 1.374 GB, free: 3.586 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/1.213, allocations: 51.23 kB / 1.374 GB, free: 3.535 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/1.213, allocations: 37.64 kB / 1.374 GB, free: 3.492 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.213, allocations: 338.8 kB / 1.374 GB, free: 3.152 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/1.213, allocations: 63.95 kB / 1.374 GB, free: 3.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/1.213, allocations: 106.5 kB / 1.374 GB, free: 2.977 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/1.214, allocations: 158.5 kB / 1.374 GB, free: 2.812 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.214, allocations: 0 / 1.374 GB, free: 2.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004152/1.214, allocations: 224.4 kB / 1.375 GB, free: 2.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.214, allocations: 9.812 kB / 1.375 GB, free: 2.582 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.214, allocations: 7.938 kB / 1.375 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.214, allocations: 0 / 1.375 GB, free: 2.574 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/1.214, allocations: 27.98 kB / 1.375 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.214, allocations: 7.922 kB / 1.375 GB, free: 2.539 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/1.214, allocations: 23.91 kB / 1.375 GB, free: 2.516 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/1.214, allocations: 7.984 kB / 1.375 GB, free: 2.508 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.0001293/1.215, allocations: 145.8 kB / 1.375 GB, free: 2.355 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/1.215, allocations: 19.81 kB / 1.375 GB, free: 2.336 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.844e-05/1.215, allocations: 33.77 kB / 1.375 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.215, allocations: 0 / 1.375 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.215, allocations: 0 / 1.375 GB, free: 2.309 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/1.215, allocations: 108.8 kB / 1.375 GB, free: 2.184 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/1.215, allocations: 11.98 kB / 1.375 GB, free: 2.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/1.215, allocations: 12 kB / 1.375 GB, free: 2.16 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/1.215, allocations: 7.984 kB / 1.375 GB, free: 2.152 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004929/1.216, allocations: 276.8 kB / 1.375 GB, free: 1.875 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004383/1.216, allocations: 390.3 kB / 1.376 GB, free: 1.477 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001711/1.216, allocations: 79.94 kB / 1.376 GB, free: 1.398 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001369/1.216, allocations: 180.5 kB / 1.376 GB, free: 1.223 MB / 1.092 GB Notification: Performance of Backend: time 8.11e-07/1.216, allocations: 0 / 1.376 GB, free: 1.223 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.217, allocations: 296 kB / 1.376 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of SimCode: time 0.001003/1.218, allocations: 0.8862 MB / 1.377 GB, free: 4 kB / 1.092 GB Notification: Performance of Templates: time 0.6024/1.821, allocations: 5.562 MB / 1.382 GB, free: 10.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches