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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001858/0.001858, allocations: 107 kB / 16.41 MB, free: 6.453 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.002231/0.002231, allocations: 192.9 kB / 17.35 MB, free: 5.715 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.533/1.533, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.89 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.846, allocations: 159.9 MB / 1.226 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1825/1.029, allocations: 161.3 MB / 1.384 GB, free: 11.49 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.002021/1.031, allocations: 0.9646 MB / 1.385 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/1.031, allocations: 11.94 kB / 1.385 GB, free: 10.51 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006443/1.032, allocations: 159 kB / 1.385 GB, free: 10.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/1.033, allocations: 0.6653 MB / 1.386 GB, free: 9.688 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/1.034, allocations: 223.3 kB / 1.386 GB, free: 9.473 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007689/1.035, allocations: 0.5188 MB / 1.386 GB, free: 8.953 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/1.035, allocations: 179.7 kB / 1.387 GB, free: 8.781 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/1.035, allocations: 235.1 kB / 1.387 GB, free: 8.551 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/1.036, allocations: 163.3 kB / 1.387 GB, free: 8.391 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/1.036, allocations: 12 kB / 1.387 GB, free: 8.379 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009021/1.037, allocations: 0.5533 MB / 1.387 GB, free: 7.824 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/1.037, allocations: 79.78 kB / 1.388 GB, free: 7.746 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/1.037, allocations: 115.4 kB / 1.388 GB, free: 7.633 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000709/1.038, allocations: 487.5 kB / 1.388 GB, free: 7.156 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.038, allocations: 0 / 1.388 GB, free: 7.156 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/1.038, allocations: 4 kB / 1.388 GB, free: 7.152 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.038, allocations: 0 / 1.388 GB, free: 7.152 MB / 1.107 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.001437/1.039, allocations: 0.615 MB / 1.389 GB, free: 6.488 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.039, allocations: 8.031 kB / 1.389 GB, free: 6.48 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/1.039, allocations: 47.83 kB / 1.389 GB, free: 6.434 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/1.04, allocations: 292 kB / 1.389 GB, free: 6.109 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.04, allocations: 16.31 kB / 1.389 GB, free: 6.094 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/1.04, allocations: 16 kB / 1.389 GB, free: 6.078 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/1.04, allocations: 243.1 kB / 1.389 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.04, allocations: 0 / 1.389 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/1.04, allocations: 8 kB / 1.389 GB, free: 5.828 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/1.041, allocations: 12 kB / 1.389 GB, free: 5.816 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/1.041, allocations: 251.6 kB / 1.39 GB, free: 5.57 MB / 1.107 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.001259/1.042, allocations: 0.8241 MB / 1.39 GB, free: 4.668 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/1.043, allocations: 146.4 kB / 1.391 GB, free: 4.516 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/1.043, allocations: 112.9 kB / 1.391 GB, free: 4.402 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/1.043, allocations: 190.2 kB / 1.391 GB, free: 4.18 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.043, allocations: 30.56 kB / 1.391 GB, free: 4.141 MB / 1.107 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/1.043, allocations: 0 / 1.391 GB, free: 4.141 MB / 1.107 GB Notification: Performance of matching and sorting (n=14): time 0.0009365/1.044, allocations: 317.2 kB / 1.391 GB, free: 3.824 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/1.044, allocations: 55.41 kB / 1.391 GB, free: 3.758 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/1.045, allocations: 241 kB / 1.391 GB, free: 3.516 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.045, allocations: 25.7 kB / 1.391 GB, free: 3.484 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/1.045, allocations: 136.3 kB / 1.392 GB, free: 3.348 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/1.045, allocations: 47.58 kB / 1.392 GB, free: 3.301 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/1.045, allocations: 41.66 kB / 1.392 GB, free: 3.254 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.045, allocations: 342.8 kB / 1.392 GB, free: 2.91 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/1.045, allocations: 63.94 kB / 1.392 GB, free: 2.848 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/1.045, allocations: 104.8 kB / 1.392 GB, free: 2.738 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/1.046, allocations: 173 kB / 1.392 GB, free: 2.562 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.046, allocations: 0 / 1.392 GB, free: 2.562 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004435/1.046, allocations: 209.4 kB / 1.393 GB, free: 2.352 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.046, allocations: 4 kB / 1.393 GB, free: 2.348 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.046, allocations: 11.92 kB / 1.393 GB, free: 2.336 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.046, allocations: 0 / 1.393 GB, free: 2.336 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/1.047, allocations: 35.97 kB / 1.393 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.047, allocations: 4.062 kB / 1.393 GB, free: 2.297 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/1.047, allocations: 27.83 kB / 1.393 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/1.047, allocations: 8 kB / 1.393 GB, free: 2.262 MB / 1.107 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.0001265/1.047, allocations: 149.7 kB / 1.393 GB, free: 2.105 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/1.047, allocations: 27.84 kB / 1.393 GB, free: 2.078 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/1.047, allocations: 29.78 kB / 1.393 GB, free: 2.051 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/1.047, allocations: 3.984 kB / 1.393 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.047, allocations: 3.938 kB / 1.393 GB, free: 2.043 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/1.047, allocations: 112.9 kB / 1.393 GB, free: 1.914 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/1.047, allocations: 8 kB / 1.393 GB, free: 1.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/1.047, allocations: 7.984 kB / 1.393 GB, free: 1.898 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/1.047, allocations: 8 kB / 1.393 GB, free: 1.891 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006141/1.048, allocations: 280.8 kB / 1.393 GB, free: 1.609 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004847/1.049, allocations: 389.9 kB / 1.394 GB, free: 1.215 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001915/1.049, allocations: 79.92 kB / 1.394 GB, free: 1.137 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001469/1.049, allocations: 176.5 kB / 1.394 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of Backend: time 3.51e-07/1.049, allocations: 0 / 1.394 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.05, allocations: 305 kB / 1.394 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of SimCode: time 0.001159/1.051, allocations: 0.8878 MB / 1.395 GB, free: 15.73 MB / 1.123 GB Notification: Performance of Templates: time 0.01035/1.061, allocations: 5.499 MB / 1.4 GB, free: 10.29 MB / 1.123 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