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.009994/0.009995, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00231/0.00231, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.84 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3055, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.846/1.152, allocations: 161.3 MB / 1.365 GB, free: 5.355 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003138/1.155, allocations: 0.9598 MB / 1.366 GB, free: 4.688 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/1.155, allocations: 9.312 kB / 1.366 GB, free: 4.684 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008767/1.156, allocations: 162.2 kB / 1.366 GB, free: 4.582 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/1.158, allocations: 0.6293 MB / 1.367 GB, free: 4.258 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/1.159, allocations: 219.8 kB / 1.367 GB, free: 4.156 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006837/1.16, allocations: 0.5199 MB / 1.368 GB, free: 3.926 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/1.16, allocations: 177.8 kB / 1.368 GB, free: 3.852 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/1.16, allocations: 237.3 kB / 1.368 GB, free: 3.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/1.161, allocations: 172 kB / 1.368 GB, free: 3.672 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/1.161, allocations: 13.91 kB / 1.368 GB, free: 3.672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/1.162, allocations: 0.5375 MB / 1.369 GB, free: 3.457 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/1.162, allocations: 82.59 kB / 1.369 GB, free: 3.426 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/1.162, allocations: 112.3 kB / 1.369 GB, free: 3.363 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008587/1.163, allocations: 490.6 kB / 1.369 GB, free: 3.203 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.163, allocations: 0 / 1.369 GB, free: 3.203 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/1.163, allocations: 0 / 1.369 GB, free: 3.203 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.136e-06/1.163, allocations: 1.156 kB / 1.369 GB, free: 3.203 MB / 1.061 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.001647/1.165, allocations: 0.6032 MB / 1.37 GB, free: 2.719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.165, allocations: 9.375 kB / 1.37 GB, free: 2.719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/1.165, allocations: 45.23 kB / 1.37 GB, free: 2.707 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/1.165, allocations: 286.8 kB / 1.37 GB, free: 2.457 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.165, allocations: 21.5 kB / 1.37 GB, free: 2.445 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/1.166, allocations: 15 kB / 1.37 GB, free: 2.441 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/1.166, allocations: 239.1 kB / 1.371 GB, free: 2.348 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.166, allocations: 0 / 1.371 GB, free: 2.348 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/1.166, allocations: 6.219 kB / 1.371 GB, free: 2.344 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/1.166, allocations: 9 kB / 1.371 GB, free: 2.344 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/1.167, allocations: 256 kB / 1.371 GB, free: 2.266 MB / 1.061 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.001321/1.168, allocations: 0.8295 MB / 1.372 GB, free: 1.684 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/1.168, allocations: 150.1 kB / 1.372 GB, free: 1.617 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/1.169, allocations: 109.5 kB / 1.372 GB, free: 1.582 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/1.169, allocations: 190.2 kB / 1.372 GB, free: 1.387 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.169, allocations: 32.47 kB / 1.372 GB, free: 1.348 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 2.715e-06/1.169, allocations: 9.422 kB / 1.372 GB, free: 1.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0009066/1.17, allocations: 299.7 kB / 1.372 GB, free: 1.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/1.17, allocations: 56.62 kB / 1.373 GB, free: 1.164 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/1.17, allocations: 243.1 kB / 1.373 GB, free: 1.016 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/1.17, allocations: 26.8 kB / 1.373 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/1.17, allocations: 143.5 kB / 1.373 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.17, allocations: 48.39 kB / 1.373 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/1.171, allocations: 38.33 kB / 1.373 GB, free: 0.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.171, allocations: 332.2 kB / 1.373 GB, free: 484 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/1.171, allocations: 63.95 kB / 1.373 GB, free: 468 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/1.171, allocations: 107.3 kB / 1.373 GB, free: 416 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/1.171, allocations: 170.8 kB / 1.374 GB, free: 340 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.171, allocations: 1.219 kB / 1.374 GB, free: 340 kB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004433/1.172, allocations: 216.7 kB / 1.374 GB, free: 244 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.172, allocations: 4.969 kB / 1.374 GB, free: 244 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.172, allocations: 9.281 kB / 1.374 GB, free: 236 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.172, allocations: 3.141 kB / 1.374 GB, free: 236 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.172, allocations: 31.09 kB / 1.374 GB, free: 232 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.172, allocations: 3.828 kB / 1.374 GB, free: 232 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/1.172, allocations: 18.77 kB / 1.374 GB, free: 224 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/1.172, allocations: 6.906 kB / 1.374 GB, free: 224 kB / 1.061 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.0001268/1.172, allocations: 144.9 kB / 1.374 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/1.173, allocations: 22.88 kB / 1.374 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/1.173, allocations: 33.48 kB / 1.374 GB, free: 56 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.173, allocations: 4.641 kB / 1.374 GB, free: 56 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.173, allocations: 0.8125 kB / 1.374 GB, free: 56 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.173, allocations: 0 / 1.374 GB, free: 56 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/1.174, allocations: 0.6782 MB / 1.375 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.174, allocations: 2.344 kB / 1.375 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/1.174, allocations: 34.44 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.174, allocations: 2.188 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/1.174, allocations: 3.75 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/1.174, allocations: 3.281 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/1.174, allocations: 6.625 kB / 1.375 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/1.174, allocations: 358.1 kB / 1.375 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.175, allocations: 111.5 kB / 1.375 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/1.175, allocations: 6.281 kB / 1.375 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/1.175, allocations: 9.391 kB / 1.375 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/1.175, allocations: 26.95 kB / 1.375 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/1.175, allocations: 9.906 kB / 1.375 GB, free: 15.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000161/1.175, allocations: 179.4 kB / 1.375 GB, free: 14.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.175, allocations: 1.094 kB / 1.375 GB, free: 14.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003749/1.175, allocations: 56.16 kB / 1.376 GB, free: 14.97 MB / 1.076 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.0003754/1.176, allocations: 163.8 kB / 1.376 GB, free: 14.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004714/1.176, allocations: 178.1 kB / 1.376 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.176, allocations: 4.062 kB / 1.376 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/1.177, allocations: 90.88 kB / 1.376 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/1.177, allocations: 116.1 kB / 1.376 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/1.178, allocations: 458.3 kB / 1.377 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.178, allocations: 0.7538 MB / 1.377 GB, free: 13.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001929/1.179, allocations: 59.06 kB / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/1.179, allocations: 25.33 kB / 1.377 GB, free: 13.56 MB / 1.076 GB Notification: Performance of SimCode: time 2.6e-07/1.179, allocations: 0 / 1.377 GB, free: 13.56 MB / 1.076 GB Notification: Performance of Templates: time 0.009266/1.188, allocations: 4.505 MB / 1.382 GB, free: 11.31 MB / 1.076 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