Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001657/0.001658, allocations: 183 kB / 17.34 MB, free: 5.762 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.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.17 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.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 75.88 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8274, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2547/1.082, allocations: 241.9 MB / 1.404 GB, free: 1.078 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01898/1.101, allocations: 13.53 MB / 1.417 GB, free: 3.508 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/1.104, allocations: 55.62 kB / 1.417 GB, free: 3.453 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003081/1.107, allocations: 1.009 MB / 1.418 GB, free: 2.438 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00611/1.113, allocations: 1.859 MB / 1.42 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/1.117, allocations: 1.249 MB / 1.421 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005392/1.122, allocations: 3.305 MB / 1.424 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/1.124, allocations: 1.063 MB / 1.425 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/1.135, allocations: 4.258 MB / 1.429 GB, free: 6.656 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/1.137, allocations: 0.91 MB / 1.43 GB, free: 5.742 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002563/1.137, allocations: 80 kB / 1.43 GB, free: 5.664 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/1.14, allocations: 1.037 MB / 1.431 GB, free: 4.625 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004587/1.14, allocations: 446.6 kB / 1.432 GB, free: 4.188 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000852/1.141, allocations: 0.6839 MB / 1.432 GB, free: 3.5 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/1.144, allocations: 1.669 MB / 1.434 GB, free: 1.828 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.144, allocations: 0 / 1.434 GB, free: 1.828 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.352e-06/1.144, allocations: 0 / 1.434 GB, free: 1.828 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.094e-05/1.144, allocations: 0 / 1.434 GB, free: 1.828 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002374/1.146, allocations: 1.684 MB / 1.436 GB, free: 92 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.146, allocations: 12.03 kB / 1.436 GB, free: 80 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/1.147, allocations: 210.9 kB / 1.436 GB, free: 15.87 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.148, allocations: 0.9178 MB / 1.437 GB, free: 14.9 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/1.149, allocations: 125.4 kB / 1.437 GB, free: 14.76 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.149, allocations: 88 kB / 1.437 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/1.15, allocations: 0.9376 MB / 1.438 GB, free: 13.65 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.15, allocations: 0 / 1.438 GB, free: 13.65 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/1.15, allocations: 40 kB / 1.438 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/1.15, allocations: 20 kB / 1.438 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/1.151, allocations: 0.511 MB / 1.438 GB, free: 13.08 MB / 1.17 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.00544/1.157, allocations: 4.897 MB / 1.443 GB, free: 7.871 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/1.157, allocations: 432.6 kB / 1.444 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/1.158, allocations: 279.8 kB / 1.444 GB, free: 7.004 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/1.158, allocations: 109 kB / 1.444 GB, free: 6.879 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/1.158, allocations: 62.27 kB / 1.444 GB, free: 6.809 MB / 1.17 GB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/1.158, allocations: 0 / 1.444 GB, free: 6.809 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002384/1.16, allocations: 0.8841 MB / 1.445 GB, free: 5.875 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/1.161, allocations: 401.5 kB / 1.445 GB, free: 5.391 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.162, allocations: 1.235 MB / 1.446 GB, free: 4.145 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/1.162, allocations: 45.7 kB / 1.446 GB, free: 4.094 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/1.163, allocations: 0.5304 MB / 1.447 GB, free: 3.559 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/1.163, allocations: 130.9 kB / 1.447 GB, free: 3.43 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.163, allocations: 85.64 kB / 1.447 GB, free: 3.34 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.163, allocations: 318 kB / 1.448 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/1.163, allocations: 108.8 kB / 1.448 GB, free: 2.914 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/1.164, allocations: 352.6 kB / 1.448 GB, free: 2.477 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/1.164, allocations: 356.5 kB / 1.448 GB, free: 2.082 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.164, allocations: 0 / 1.448 GB, free: 2.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00133/1.166, allocations: 0.5684 MB / 1.449 GB, free: 1.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.166, allocations: 6.5 kB / 1.449 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.166, allocations: 4 kB / 1.449 GB, free: 1.492 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/1.166, allocations: 129.5 kB / 1.449 GB, free: 1.359 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/1.167, allocations: 91.88 kB / 1.449 GB, free: 1.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/1.169, allocations: 2.312 MB / 1.451 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008158/1.169, allocations: 99.42 kB / 1.451 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/1.169, allocations: 23.98 kB / 1.451 GB, free: 14.74 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007198/1.17, allocations: 320 kB / 1.452 GB, free: 14.42 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004047/1.171, allocations: 338.4 kB / 1.452 GB, free: 13.99 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005057/1.171, allocations: 332.8 kB / 1.452 GB, free: 13.62 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.71e-06/1.171, allocations: 7.938 kB / 1.452 GB, free: 13.61 MB / 1.186 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001043/1.172, allocations: 0.4945 MB / 1.453 GB, free: 13.11 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.172, allocations: 11.94 kB / 1.453 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.172, allocations: 7.984 kB / 1.453 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/1.172, allocations: 73.61 kB / 1.453 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/1.173, allocations: 59.91 kB / 1.453 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/1.176, allocations: 3.266 MB / 1.456 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/1.176, allocations: 63.77 kB / 1.456 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/1.177, allocations: 20 kB / 1.456 GB, free: 9.328 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002716/1.177, allocations: 216.2 kB / 1.456 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/1.177, allocations: 143.1 kB / 1.457 GB, free: 8.969 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009574/1.178, allocations: 428.6 kB / 1.457 GB, free: 8.527 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.178, allocations: 11.94 kB / 1.457 GB, free: 8.516 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.178, allocations: 4 kB / 1.457 GB, free: 8.512 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/1.178, allocations: 8.141 kB / 1.457 GB, free: 8.504 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/1.182, allocations: 2.557 MB / 1.46 GB, free: 5.809 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.182, allocations: 8.625 kB / 1.46 GB, free: 5.801 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/1.182, allocations: 67.89 kB / 1.46 GB, free: 5.734 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002187/1.182, allocations: 85.59 kB / 1.46 GB, free: 5.645 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/1.182, allocations: 12 kB / 1.46 GB, free: 5.633 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/1.184, allocations: 2.312 MB / 1.462 GB, free: 3.223 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.184, allocations: 4 kB / 1.462 GB, free: 3.219 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/1.185, allocations: 0.7887 MB / 1.463 GB, free: 2.344 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/1.186, allocations: 256.1 kB / 1.463 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/1.186, allocations: 12 kB / 1.463 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/1.187, allocations: 51.88 kB / 1.463 GB, free: 2.012 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/1.187, allocations: 35.84 kB / 1.463 GB, free: 1.977 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/1.187, allocations: 20 kB / 1.463 GB, free: 1.957 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001187/1.188, allocations: 0.8645 MB / 1.464 GB, free: 1.094 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.6e-07/1.188, allocations: 3.938 kB / 1.464 GB, free: 1.09 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00144/1.189, allocations: 451.5 kB / 1.464 GB, free: 0.6484 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005724/1.19, allocations: 237.7 kB / 1.465 GB, free: 428 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001921/1.192, allocations: 0.7439 MB / 1.465 GB, free: 15.65 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.192, allocations: 384 / 1.465 GB, free: 15.65 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004766/1.192, allocations: 199.6 kB / 1.466 GB, free: 15.45 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.196, allocations: 0.7428 MB / 1.466 GB, free: 14.71 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/1.198, allocations: 1.923 MB / 1.468 GB, free: 12.69 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/1.199, allocations: 1.131 MB / 1.469 GB, free: 11.53 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/1.199, allocations: 83.42 kB / 1.469 GB, free: 11.45 MB / 1.201 GB Notification: Performance of SimCode: time 6.32e-07/1.199, allocations: 0 / 1.469 GB, free: 11.45 MB / 1.201 GB Notification: Performance of Templates: time 0.04075/1.24, allocations: 36.88 MB / 1.505 GB, free: 6.723 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches