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.001882/0.001882, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002053/0.002053, allocations: 194.2 kB / 16.14 MB, free: 6.691 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 472.7 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 65.88 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3581, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1777/0.5358, allocations: 159.1 MB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.538, allocations: 0.9665 MB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.5383, allocations: 7.938 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.5389, allocations: 127.2 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.5405, allocations: 0.611 MB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.5412, allocations: 194.6 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008486/0.542, allocations: 0.7371 MB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.5424, allocations: 160.2 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.5429, allocations: 211.1 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.5432, allocations: 175.3 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.5432, allocations: 15.94 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.5443, allocations: 0.6312 MB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.5444, allocations: 75.78 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.5446, allocations: 111.4 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.5454, allocations: 0.5102 MB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5455, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.22e-07/0.5455, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.5455, allocations: 0 / 1.227 GB, free: 6.715 MB / 0.9825 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.001571/0.5471, allocations: 0.6001 MB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5471, allocations: 16.02 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.5474, allocations: 43.69 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.5478, allocations: 276.3 kB / 1.228 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5478, allocations: 8.328 kB / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.5478, allocations: 16 kB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.5484, allocations: 239.1 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5484, allocations: 4 kB / 1.228 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.5484, allocations: 11.94 kB / 1.228 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.5485, allocations: 8 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.5491, allocations: 251.8 kB / 1.229 GB, free: 5.168 MB / 0.9825 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.001357/0.5505, allocations: 0.8353 MB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.5508, allocations: 146.5 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.5511, allocations: 120.8 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.5514, allocations: 186.2 kB / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.5514, allocations: 34.55 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.5514, allocations: 0 / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0008848/0.5523, allocations: 309.2 kB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.5524, allocations: 51.41 kB / 1.23 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.5526, allocations: 245 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.5527, allocations: 25.7 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5528, allocations: 136.2 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.5528, allocations: 43.3 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.5529, allocations: 49.64 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.553, allocations: 330.8 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.5532, allocations: 63.94 kB / 1.231 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.5534, allocations: 102.5 kB / 1.231 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.5538, allocations: 170 kB / 1.231 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5538, allocations: 0 / 1.231 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004789/0.5543, allocations: 213.2 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5543, allocations: 19.81 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5544, allocations: 0 / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5544, allocations: 8.047 kB / 1.232 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.5546, allocations: 31.98 kB / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5546, allocations: 0 / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.5548, allocations: 23.83 kB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.5548, allocations: 7.984 kB / 1.232 GB, free: 1.852 MB / 0.9825 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.0001464/0.555, allocations: 147.5 kB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.555, allocations: 23.69 kB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.5551, allocations: 37.83 kB / 1.232 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5551, allocations: 0 / 1.232 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5551, allocations: 0 / 1.232 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5552, allocations: 8 kB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5562, allocations: 0.6756 MB / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5562, allocations: 4 kB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.5564, allocations: 27.92 kB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5564, allocations: 7.984 kB / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.5565, allocations: 4 kB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5565, allocations: 0 / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5565, allocations: 4.219 kB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.557, allocations: 357 kB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5571, allocations: 112.8 kB / 1.233 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.5572, allocations: 11.98 kB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.5574, allocations: 4 kB / 1.233 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.5574, allocations: 19.97 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5574, allocations: 15.97 kB / 1.233 GB, free: 276 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000168/0.5576, allocations: 176.5 kB / 1.233 GB, free: 100 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5576, allocations: 0 / 1.233 GB, free: 100 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003918/0.558, allocations: 63.89 kB / 1.233 GB, free: 36 kB / 0.9825 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.0004175/0.5584, allocations: 156.2 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.5589, allocations: 163.8 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5589, allocations: 12.06 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.5592, allocations: 91.81 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.5599, allocations: 122.3 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.5607, allocations: 0.4939 MB / 1.234 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.5611, allocations: 0.7521 MB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002467/0.5613, allocations: 69.83 kB / 1.235 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.5614, allocations: 19.44 kB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.5614, allocations: 0 / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.008691/0.5701, allocations: 4.204 MB / 1.239 GB, free: 9.965 MB / 0.9981 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