Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0108/0.0108, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001835/0.001835, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.046, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2014/1.248, allocations: 161.3 MB / 1.324 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003032/1.251, allocations: 0.9586 MB / 1.325 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/1.252, allocations: 15.94 kB / 1.325 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/1.253, allocations: 155 kB / 1.325 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/1.255, allocations: 0.6613 MB / 1.326 GB, free: 48 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008781/1.256, allocations: 219.2 kB / 1.326 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001078/1.257, allocations: 0.5264 MB / 1.327 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/1.257, allocations: 169.2 kB / 1.327 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000643/1.258, allocations: 255 kB / 1.327 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/1.258, allocations: 159.3 kB / 1.327 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/1.258, allocations: 16 kB / 1.327 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/1.26, allocations: 0.5416 MB / 1.328 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/1.26, allocations: 83.77 kB / 1.328 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/1.26, allocations: 111.5 kB / 1.328 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/1.261, allocations: 489.9 kB / 1.328 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.261, allocations: 0 / 1.328 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.756e-06/1.261, allocations: 0 / 1.328 GB, free: 13.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.192e-05/1.261, allocations: 4 kB / 1.328 GB, free: 13.5 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.001712/1.263, allocations: 0.6073 MB / 1.329 GB, free: 12.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.263, allocations: 8.922 kB / 1.329 GB, free: 12.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/1.263, allocations: 55.77 kB / 1.329 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/1.264, allocations: 296 kB / 1.329 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.264, allocations: 12.33 kB / 1.329 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/1.264, allocations: 19.94 kB / 1.329 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/1.264, allocations: 238.9 kB / 1.33 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.264, allocations: 0 / 1.33 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/1.264, allocations: 8 kB / 1.33 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/1.264, allocations: 8 kB / 1.33 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/1.265, allocations: 255.8 kB / 1.33 GB, free: 11.92 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.001341/1.266, allocations: 0.828 MB / 1.331 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/1.267, allocations: 150.4 kB / 1.331 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/1.267, allocations: 108.9 kB / 1.331 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/1.267, allocations: 190.2 kB / 1.331 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.267, allocations: 34.56 kB / 1.331 GB, free: 10.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/1.267, allocations: 0 / 1.331 GB, free: 10.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0008233/1.268, allocations: 302.3 kB / 1.331 GB, free: 10.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.268, allocations: 55.41 kB / 1.331 GB, free: 10.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/1.268, allocations: 248.9 kB / 1.332 GB, free: 9.871 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.268, allocations: 25.7 kB / 1.332 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.268, allocations: 144.3 kB / 1.332 GB, free: 9.695 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/1.268, allocations: 47.58 kB / 1.332 GB, free: 9.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/1.268, allocations: 33.7 kB / 1.332 GB, free: 9.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.269, allocations: 334.8 kB / 1.332 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/1.269, allocations: 63.94 kB / 1.332 GB, free: 9.211 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.269, allocations: 106.5 kB / 1.332 GB, free: 9.098 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/1.269, allocations: 171.8 kB / 1.333 GB, free: 8.922 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.269, allocations: 3.938 kB / 1.333 GB, free: 8.918 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004317/1.27, allocations: 210.6 kB / 1.333 GB, free: 8.707 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.27, allocations: 15.98 kB / 1.333 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.27, allocations: 4 kB / 1.333 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.27, allocations: 0 / 1.333 GB, free: 8.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.27, allocations: 35.92 kB / 1.333 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/1.27, allocations: 0 / 1.333 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/1.27, allocations: 23.83 kB / 1.333 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/1.27, allocations: 7.984 kB / 1.333 GB, free: 8.621 MB / 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.0001352/1.27, allocations: 145.8 kB / 1.333 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/1.27, allocations: 27.84 kB / 1.333 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/1.271, allocations: 29.83 kB / 1.333 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.271, allocations: 8 kB / 1.333 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.271, allocations: 0 / 1.333 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.271, allocations: 0 / 1.333 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/1.272, allocations: 0.6796 MB / 1.334 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.272, allocations: 0 / 1.334 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/1.272, allocations: 31.92 kB / 1.334 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.272, allocations: 0 / 1.334 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.272, allocations: 7.984 kB / 1.334 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/1.272, allocations: 8.219 kB / 1.334 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.272, allocations: 0 / 1.334 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/1.272, allocations: 361.2 kB / 1.334 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.272, allocations: 109 kB / 1.334 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/1.273, allocations: 11.98 kB / 1.334 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/1.273, allocations: 4 kB / 1.334 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/1.273, allocations: 19.92 kB / 1.334 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/1.273, allocations: 11.94 kB / 1.334 GB, free: 7.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001707/1.273, allocations: 180.5 kB / 1.334 GB, free: 6.859 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.273, allocations: 0 / 1.334 GB, free: 6.859 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003556/1.273, allocations: 55.94 kB / 1.334 GB, free: 6.805 MB / 1.061 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.0003995/1.274, allocations: 164.6 kB / 1.335 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004626/1.274, allocations: 181.2 kB / 1.335 GB, free: 6.465 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.274, allocations: 0 / 1.335 GB, free: 6.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/1.274, allocations: 91.88 kB / 1.335 GB, free: 6.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/1.275, allocations: 126 kB / 1.335 GB, free: 6.254 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/1.276, allocations: 455.5 kB / 1.335 GB, free: 5.762 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/1.276, allocations: 0.7558 MB / 1.336 GB, free: 4.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000178/1.276, allocations: 57.91 kB / 1.336 GB, free: 4.926 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/1.277, allocations: 27.42 kB / 1.336 GB, free: 4.898 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/1.277, allocations: 0 / 1.336 GB, free: 4.898 MB / 1.061 GB Notification: Performance of Templates: time 0.008735/1.285, allocations: 4.448 MB / 1.341 GB, free: 0.5195 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches