Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_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_latest_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.001557/0.001557, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001705/0.001705, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.533/1.533, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 469.4 MB / 0.7423 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002208, allocations: 64 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.8858/1.242, allocations: 238.9 MB / 1.297 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01832/1.261, allocations: 13.46 MB / 1.31 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/1.264, allocations: 51.62 kB / 1.31 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/1.267, allocations: 0.8471 MB / 1.311 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008535/1.275, allocations: 1.684 MB / 1.313 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/1.28, allocations: 1.127 MB / 1.314 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005528/1.286, allocations: 3.313 MB / 1.317 GB, free: 5.988 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/1.287, allocations: 1.023 MB / 1.318 GB, free: 4.945 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/1.297, allocations: 4.025 MB / 1.322 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/1.299, allocations: 0.9762 MB / 1.323 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/1.3, allocations: 80 kB / 1.323 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/1.302, allocations: 1.076 MB / 1.324 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004797/1.302, allocations: 442.6 kB / 1.324 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009133/1.303, allocations: 0.6878 MB / 1.325 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/1.305, allocations: 1.197 MB / 1.326 GB, free: 12.45 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.305, allocations: 0 / 1.326 GB, free: 12.45 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.315e-06/1.305, allocations: 0 / 1.326 GB, free: 12.45 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.72e-05/1.305, allocations: 0 / 1.326 GB, free: 12.45 MB / 1.045 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.002311/1.307, allocations: 1.643 MB / 1.328 GB, free: 10.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.307, allocations: 8.625 kB / 1.328 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000677/1.308, allocations: 194.2 kB / 1.328 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.309, allocations: 0.8503 MB / 1.329 GB, free: 9.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/1.31, allocations: 118.3 kB / 1.329 GB, free: 9.516 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.31, allocations: 91.94 kB / 1.329 GB, free: 9.426 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.311, allocations: 0.9337 MB / 1.33 GB, free: 8.398 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/1.311, allocations: 0 / 1.33 GB, free: 8.398 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/1.311, allocations: 32 kB / 1.33 GB, free: 8.367 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.311, allocations: 24 kB / 1.33 GB, free: 8.344 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008627/1.312, allocations: 0.5187 MB / 1.331 GB, free: 7.828 MB / 1.045 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.004899/1.317, allocations: 4.9 MB / 1.335 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/1.318, allocations: 440.5 kB / 1.336 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/1.318, allocations: 280.1 kB / 1.336 GB, free: 1.742 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/1.318, allocations: 113 kB / 1.336 GB, free: 1.613 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.318, allocations: 46.5 kB / 1.336 GB, free: 1.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=35): time 2.975e-06/1.318, allocations: 0 / 1.336 GB, free: 1.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.002459/1.321, allocations: 0.8787 MB / 1.337 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/1.321, allocations: 397.5 kB / 1.337 GB, free: 156 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.322, allocations: 1.235 MB / 1.339 GB, free: 14.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/1.323, allocations: 37.7 kB / 1.339 GB, free: 14.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/1.323, allocations: 0.5342 MB / 1.339 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.323, allocations: 130.1 kB / 1.339 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.323, allocations: 81.69 kB / 1.339 GB, free: 14.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.323, allocations: 318 kB / 1.34 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/1.324, allocations: 116.5 kB / 1.34 GB, free: 13.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/1.324, allocations: 344.1 kB / 1.34 GB, free: 13.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/1.325, allocations: 352.5 kB / 1.341 GB, free: 12.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.325, allocations: 0 / 1.341 GB, free: 12.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001378/1.326, allocations: 0.5653 MB / 1.341 GB, free: 12.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.326, allocations: 7.984 kB / 1.341 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.326, allocations: 4 kB / 1.341 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/1.327, allocations: 130.1 kB / 1.341 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/1.327, allocations: 89.38 kB / 1.341 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/1.329, allocations: 2.312 MB / 1.344 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/1.33, allocations: 115.3 kB / 1.344 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/1.33, allocations: 24.08 kB / 1.344 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005525/1.33, allocations: 315.9 kB / 1.344 GB, free: 9.188 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004166/1.331, allocations: 339.1 kB / 1.344 GB, free: 8.762 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000502/1.331, allocations: 336.5 kB / 1.345 GB, free: 8.387 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/1.331, allocations: 0 / 1.345 GB, free: 8.387 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001014/1.332, allocations: 0.5013 MB / 1.345 GB, free: 7.871 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.332, allocations: 8 kB / 1.345 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.332, allocations: 7.938 kB / 1.345 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.332, allocations: 69.8 kB / 1.345 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/1.333, allocations: 63.91 kB / 1.345 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/1.335, allocations: 3.262 MB / 1.348 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/1.336, allocations: 71.94 kB / 1.349 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/1.336, allocations: 27.97 kB / 1.349 GB, free: 4.082 MB / 1.061 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.0002592/1.337, allocations: 220.1 kB / 1.349 GB, free: 3.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/1.337, allocations: 138.4 kB / 1.349 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009555/1.338, allocations: 449.4 kB / 1.349 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.338, allocations: 4 kB / 1.349 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.338, allocations: 4 kB / 1.349 GB, free: 3.254 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.338, allocations: 7.984 kB / 1.349 GB, free: 3.246 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/1.342, allocations: 2.546 MB / 1.352 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.342, allocations: 8 kB / 1.352 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/1.342, allocations: 67.83 kB / 1.352 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/1.342, allocations: 77.67 kB / 1.352 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/1.342, allocations: 12 kB / 1.352 GB, free: 404 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/1.344, allocations: 2.308 MB / 1.354 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.344, allocations: 16.03 kB / 1.354 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.345, allocations: 0.7796 MB / 1.355 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/1.345, allocations: 247.4 kB / 1.355 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/1.345, allocations: 19.92 kB / 1.355 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/1.346, allocations: 63.78 kB / 1.355 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/1.346, allocations: 31.84 kB / 1.355 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/1.346, allocations: 23.98 kB / 1.355 GB, free: 12.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001282/1.348, allocations: 0.8605 MB / 1.356 GB, free: 11.85 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.3e-07/1.348, allocations: 4 kB / 1.356 GB, free: 11.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001581/1.349, allocations: 447.5 kB / 1.357 GB, free: 11.41 MB / 1.076 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.0005475/1.35, allocations: 240 kB / 1.357 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001883/1.352, allocations: 0.7522 MB / 1.358 GB, free: 10.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.352, allocations: 0 / 1.358 GB, free: 10.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004935/1.352, allocations: 204.1 kB / 1.358 GB, free: 10.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.356, allocations: 0.745 MB / 1.359 GB, free: 9.465 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/1.359, allocations: 2.237 MB / 1.361 GB, free: 7.129 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/1.36, allocations: 1.131 MB / 1.362 GB, free: 5.969 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/1.36, allocations: 79.44 kB / 1.362 GB, free: 5.891 MB / 1.076 GB Notification: Performance of SimCode: time 1.051e-06/1.36, allocations: 0 / 1.362 GB, free: 5.891 MB / 1.076 GB Notification: Performance of Templates: time 0.04188/1.402, allocations: 36.77 MB / 1.398 GB, free: 1.27 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches