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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001435/0.001435, allocations: 99.02 kB / 16.35 MB, free: 5.824 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.001208/0.001208, allocations: 195.8 kB / 17.29 MB, free: 5.48 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 64.09 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3417, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.8653/1.207, allocations: 161.3 MB / 1.176 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002158/1.209, allocations: 0.9616 MB / 1.177 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/1.21, allocations: 9.625 kB / 1.177 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/1.21, allocations: 152.8 kB / 1.177 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/1.212, allocations: 0.6403 MB / 1.178 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/1.213, allocations: 225.3 kB / 1.178 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006885/1.213, allocations: 0.5158 MB / 1.179 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/1.214, allocations: 176 kB / 1.179 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/1.214, allocations: 231.5 kB / 1.179 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/1.214, allocations: 161.7 kB / 1.179 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/1.214, allocations: 14.31 kB / 1.179 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.216, allocations: 0.5478 MB / 1.18 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/1.216, allocations: 76.52 kB / 1.18 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/1.216, allocations: 117.6 kB / 1.18 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008104/1.217, allocations: 492.5 kB / 1.181 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.217, allocations: 0 / 1.181 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/1.217, allocations: 1.125 kB / 1.181 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.217, allocations: 3.938 kB / 1.181 GB, free: 9.504 MB / 0.8887 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.001479/1.218, allocations: 0.5977 MB / 1.181 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.218, allocations: 10.05 kB / 1.181 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/1.218, allocations: 44.84 kB / 1.181 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/1.219, allocations: 292.9 kB / 1.181 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/1.219, allocations: 15.36 kB / 1.181 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/1.219, allocations: 18.91 kB / 1.181 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/1.22, allocations: 244 kB / 1.182 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.22, allocations: 1.219 kB / 1.182 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/1.22, allocations: 5 kB / 1.182 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/1.22, allocations: 8.375 kB / 1.182 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/1.22, allocations: 251.5 kB / 1.182 GB, free: 8.375 MB / 0.8887 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.001283/1.221, allocations: 0.8362 MB / 1.183 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/1.222, allocations: 143.1 kB / 1.183 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/1.222, allocations: 108.8 kB / 1.183 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/1.222, allocations: 188.1 kB / 1.183 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.222, allocations: 35.94 kB / 1.183 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/1.222, allocations: 1.375 kB / 1.183 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.0008194/1.223, allocations: 302.1 kB / 1.184 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.223, allocations: 60.72 kB / 1.184 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/1.223, allocations: 240.1 kB / 1.184 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.223, allocations: 30.8 kB / 1.184 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/1.224, allocations: 134.6 kB / 1.184 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/1.224, allocations: 53.7 kB / 1.184 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/1.224, allocations: 34.55 kB / 1.184 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.224, allocations: 332.4 kB / 1.184 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.224, allocations: 67.36 kB / 1.184 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/1.224, allocations: 100.3 kB / 1.185 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/1.225, allocations: 173.9 kB / 1.185 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.225, allocations: 1.312 kB / 1.185 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004219/1.225, allocations: 217.6 kB / 1.185 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.225, allocations: 5.531 kB / 1.185 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.225, allocations: 4 kB / 1.185 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.225, allocations: 6.5 kB / 1.185 GB, free: 6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/1.225, allocations: 29.59 kB / 1.185 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.225, allocations: 5.406 kB / 1.185 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/1.225, allocations: 24.27 kB / 1.185 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/1.225, allocations: 5.344 kB / 1.185 GB, free: 5.973 MB / 0.8887 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.0001239/1.226, allocations: 140.1 kB / 1.185 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/1.226, allocations: 22.88 kB / 1.185 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/1.226, allocations: 40.3 kB / 1.185 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.226, allocations: 0.9688 kB / 1.185 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.226, allocations: 0.8438 kB / 1.185 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.226, allocations: 0 / 1.185 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/1.227, allocations: 0.6749 MB / 1.186 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.227, allocations: 2.906 kB / 1.186 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/1.227, allocations: 34.38 kB / 1.186 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.227, allocations: 1.812 kB / 1.186 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/1.227, allocations: 8.375 kB / 1.186 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.227, allocations: 5.312 kB / 1.186 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.227, allocations: 7.406 kB / 1.186 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/1.227, allocations: 362.3 kB / 1.186 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/1.228, allocations: 114.3 kB / 1.186 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/1.228, allocations: 3.156 kB / 1.186 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/1.228, allocations: 13.64 kB / 1.186 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/1.228, allocations: 17.27 kB / 1.186 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.228, allocations: 5.531 kB / 1.186 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001584/1.228, allocations: 185 kB / 1.187 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.228, allocations: 0 / 1.187 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003485/1.228, allocations: 51.94 kB / 1.187 GB, free: 4.637 MB / 0.8887 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.0003571/1.229, allocations: 158.8 kB / 1.187 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004515/1.229, allocations: 175 kB / 1.187 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.229, allocations: 5.188 kB / 1.187 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/1.229, allocations: 99.56 kB / 1.187 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/1.23, allocations: 119.4 kB / 1.187 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/1.231, allocations: 451.6 kB / 1.188 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/1.231, allocations: 0.7551 MB / 1.188 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001795/1.231, allocations: 62.25 kB / 1.188 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/1.232, allocations: 18.16 kB / 1.188 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/1.232, allocations: 0 / 1.188 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of Templates: time 0.008972/1.241, allocations: 4.421 MB / 1.193 GB, free: 1.035 MB / 0.8887 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches